Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 170.5 kB / 8.146 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001749/0.001748, allocations: 87.97 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.259/0.259, allocations: 43.5 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.674e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2798, allocations: 58.83 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.4572, allocations: 86.61 MB / 0.5499 GB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4576, allocations: 63.97 kB / 0.55 GB, free: 12.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01227/0.4699, allocations: 2.491 MB / 0.5524 GB, free: 9.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.4699, allocations: 4 kB / 0.5524 GB, free: 9.906 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008/0.4707, allocations: 414.4 kB / 0.5528 GB, free: 9.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4708, allocations: 8.031 kB / 0.5528 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.4709, allocations: 15.81 kB / 0.5529 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.4712, allocations: 203 kB / 0.5531 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4712, allocations: 4 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.4713, allocations: 12 kB / 0.5531 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002903/0.4716, allocations: 72.47 kB / 0.5531 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.4719, allocations: 103.6 kB / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4719, allocations: 0 / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.4719, allocations: 3.984 kB / 0.5532 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4719, allocations: 7.938 kB / 0.5533 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4732, allocations: 0.5229 MB / 0.5538 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.4735, allocations: 57.05 kB / 0.5538 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.4735, allocations: 20.92 kB / 0.5538 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4736, allocations: 4 kB / 0.5538 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4736, allocations: 30.56 kB / 0.5539 GB, free: 8.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.585e-06/0.4736, allocations: 4 kB / 0.5539 GB, free: 8.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002425/0.4739, allocations: 57.59 kB / 0.5539 GB, free: 8.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4739, allocations: 51.41 kB / 0.554 GB, free: 8.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.4741, allocations: 128.8 kB / 0.5541 GB, free: 8.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4741, allocations: 25.7 kB / 0.5541 GB, free: 7.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4743, allocations: 193.9 kB / 0.5543 GB, free: 7.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.4743, allocations: 27.73 kB / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.4743, allocations: 0 / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4745, allocations: 314.8 kB / 0.5546 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.4745, allocations: 12 kB / 0.5546 GB, free: 7.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/0.4746, allocations: 53.42 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.4747, allocations: 24 kB / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.4747, allocations: 0 / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002467/0.475, allocations: 93.5 kB / 0.5548 GB, free: 7.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.475, allocations: 4 kB / 0.5548 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.475, allocations: 0 / 0.5548 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4751, allocations: 4 kB / 0.5548 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.4754, allocations: 36.05 kB / 0.5549 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.4754, allocations: 0 / 0.5549 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.4756, allocations: 16.05 kB / 0.5549 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4756, allocations: 4 kB / 0.5549 GB, free: 7.191 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.4757, allocations: 35.02 kB / 0.5549 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.4757, allocations: 3.906 kB / 0.5549 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.4758, allocations: 16.19 kB / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4758, allocations: 0 / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.4758, allocations: 0 / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4758, allocations: 3.938 kB / 0.5549 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.4761, allocations: 182 kB / 0.5551 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4761, allocations: 3.984 kB / 0.5551 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.4763, allocations: 23.92 kB / 0.5551 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4763, allocations: 4 kB / 0.5551 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4764, allocations: 0 / 0.5551 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4764, allocations: 4 kB / 0.5551 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4764, allocations: 0 / 0.5551 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002189/0.4766, allocations: 159.4 kB / 0.5553 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.4767, allocations: 85 kB / 0.5554 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.4768, allocations: 7.938 kB / 0.5554 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.477, allocations: 8 kB / 0.5554 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.4771, allocations: 7.984 kB / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.4771, allocations: 0 / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001022/0.4772, allocations: 103.3 kB / 0.5555 GB, free: 6.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.4775, allocations: 27.84 kB / 0.5555 GB, free: 6.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.4777, allocations: 95.25 kB / 0.5556 GB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4779, allocations: 43.94 kB / 0.5557 GB, free: 6.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4779, allocations: 0 / 0.5557 GB, free: 6.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.95e-05/0.478, allocations: 19.94 kB / 0.5557 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.4782, allocations: 5.688 kB / 0.5557 GB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.4789, allocations: 161.1 kB / 0.5558 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.4793, allocations: 0.735 MB / 0.5565 GB, free: 5.328 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4793, allocations: 4 kB / 0.5566 GB, free: 5.324 MB / 394.7 MB Notification: Performance of Templates: time 0.004078/0.4834, allocations: 1.276 MB / 0.5578 GB, free: 4.047 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches