Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 183.7 kB / 8.478 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.2 MB / 214.1 MB, free: 5.109 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 86.47 kB / 262.1 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.64e-06/5.68e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07559/0.07561, allocations: 47.58 MB / 362.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.3025, allocations: 84.03 MB / 446.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001567/0.3027, allocations: 73.78 kB / 446.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.06885/0.3716, allocations: 31.09 MB / 477.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001416/0.3718, allocations: 55.88 kB / 477.8 MB, free: 13.35 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004603/0.3764, allocations: 1.995 MB / 479.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3764, allocations: 8.031 kB / 479.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/0.3774, allocations: 253.2 kB / 480 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.38, allocations: 1.273 MB / 481.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.3801, allocations: 72 kB / 481.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004132/0.3805, allocations: 128 kB / 481.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003429/0.3839, allocations: 1.802 MB / 483.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00442/0.3884, allocations: 2.4 MB / 485.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/0.3884, allocations: 7.984 kB / 485.7 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.3886, allocations: 4 kB / 485.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.3887, allocations: 55.91 kB / 485.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.4015, allocations: 7.336 MB / 493.1 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.4024, allocations: 0.63 MB / 493.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/0.4034, allocations: 0.6766 MB / 494.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.178e-05/0.4035, allocations: 12.25 kB / 494.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4035, allocations: 39.06 kB / 494.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=63): time 2.915e-06/0.4035, allocations: 0 / 494.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.003507/0.4071, allocations: 2.024 MB / 496.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.4071, allocations: 59.97 kB / 496.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.4081, allocations: 0.6597 MB / 497.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.4082, allocations: 25.7 kB / 497.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.4086, allocations: 0.8239 MB / 498.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.4088, allocations: 224.7 kB / 498.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.4088, allocations: 0 / 498.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.409, allocations: 386.8 kB / 498.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.4095, allocations: 353.6 kB / 499 MB, free: 9.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/0.4101, allocations: 0.5497 MB / 499.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.4107, allocations: 458.9 kB / 0.4883 GB, free: 8.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4107, allocations: 4 kB / 0.4883 GB, free: 8.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00161/0.4123, allocations: 1.05 MB / 0.4893 GB, free: 7.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4124, allocations: 4 kB / 0.4893 GB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.4124, allocations: 15.94 kB / 0.4893 GB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.4126, allocations: 96.69 kB / 0.4894 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.4134, allocations: 183.8 kB / 0.4896 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4152, allocations: 1.836 MB / 0.4914 GB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.4158, allocations: 19.98 kB / 0.4914 GB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.4159, allocations: 36 kB / 0.4914 GB, free: 5.539 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.416, allocations: 129.6 kB / 0.4916 GB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.4162, allocations: 75.06 kB / 0.4916 GB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.4177, allocations: 0.871 MB / 0.4925 GB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.4177, allocations: 4 kB / 0.4925 GB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4177, allocations: 4 kB / 0.4925 GB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4177, allocations: 3.984 kB / 0.4925 GB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/0.4224, allocations: 2.319 MB / 0.4948 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.4225, allocations: 11.92 kB / 0.4948 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.4231, allocations: 112 kB / 0.4949 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.4234, allocations: 72.81 kB / 0.495 GB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.4234, allocations: 7.984 kB / 0.495 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.4253, allocations: 1.801 MB / 0.4967 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4253, allocations: 8.062 kB / 0.4967 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002005/0.4273, allocations: 1.433 MB / 0.4981 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.4278, allocations: 228 kB / 0.4983 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.428, allocations: 4 kB / 0.4983 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.4285, allocations: 32.03 kB / 0.4984 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4286, allocations: 36.44 kB / 0.4984 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.4286, allocations: 23.98 kB / 0.4984 GB, free: 14.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0007657/0.4294, allocations: 0.4991 MB / 0.4989 GB, free: 13.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001304/0.4307, allocations: 295.9 kB / 0.4992 GB, free: 13.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.431, allocations: 131 kB / 0.4993 GB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.4326, allocations: 0.9848 MB / 0.5003 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4327, allocations: 4.062 kB / 0.5003 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008388/0.4335, allocations: 0.5614 MB / 0.5008 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4345, allocations: 183.1 kB / 0.501 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.4404, allocations: 2.485 MB / 0.5034 GB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/0.4426, allocations: 1.813 MB / 0.5052 GB, free: 7.016 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.4426, allocations: 0 / 0.5052 GB, free: 7.016 MB / 362.7 MB Notification: Performance of Templates: time 0.02202/0.4646, allocations: 10.95 MB / 0.5159 GB, free: 12.12 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches