Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [: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.0009918/0.0009918, allocations: 183.1 kB / 7.8 MB, free: 2.445 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.043/1.043, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008508/0.0008508, allocations: 88.73 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1487/0.1487, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/5.991e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 58.83 MB / 476.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.734/4.958, allocations: 3.573 GB / 4.039 GB, free: 116 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/4.958, allocations: 79.95 kB / 4.039 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.778/5.736, allocations: 304.6 MB / 4.336 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.609e-05/5.737, allocations: 11.94 kB / 4.336 GB, free: 7.344 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004198/5.741, allocations: 1.589 MB / 4.338 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/5.741, allocations: 8.031 kB / 4.338 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/5.741, allocations: 59.42 kB / 4.338 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/5.742, allocations: 381.6 kB / 4.338 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/5.742, allocations: 12 kB / 4.338 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/5.742, allocations: 24 kB / 4.338 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006213/5.742, allocations: 433.4 kB / 4.338 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/5.743, allocations: 440 kB / 4.339 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/5.743, allocations: 4 kB / 4.339 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/5.743, allocations: 0 / 4.339 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/5.743, allocations: 12 kB / 4.339 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/5.745, allocations: 2.044 MB / 4.341 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/5.746, allocations: 397 kB / 4.341 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/5.746, allocations: 146.6 kB / 4.341 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/5.746, allocations: 0.7791 MB / 4.342 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/5.746, allocations: 42.55 kB / 4.342 GB, free: 500 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/5.746, allocations: 3.984 kB / 4.342 GB, free: 496 kB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0007969/5.747, allocations: 381.3 kB / 4.343 GB, free: 108 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1547/5.902, allocations: 109.7 kB / 4.343 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/5.902, allocations: 256.1 kB / 4.343 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/5.902, allocations: 29.67 kB / 4.343 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/5.903, allocations: 207.4 kB / 4.343 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/5.903, allocations: 92.67 kB / 4.343 GB, free: 126 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/5.903, allocations: 0 / 4.343 GB, free: 126 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/5.903, allocations: 343.8 kB / 4.344 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/5.903, allocations: 130.9 kB / 4.344 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/5.903, allocations: 237.3 kB / 4.344 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/5.904, allocations: 247 kB / 4.344 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/5.904, allocations: 0 / 4.344 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009108/5.905, allocations: 0.5115 MB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/5.905, allocations: 7.688 kB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/5.905, allocations: 6.969 kB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/5.905, allocations: 3.812 kB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/5.905, allocations: 84.73 kB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/5.905, allocations: 10.36 kB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/5.906, allocations: 46.52 kB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/5.906, allocations: 21.52 kB / 4.345 GB, free: 125.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 9.978e-05/5.906, allocations: 116.2 kB / 4.345 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/5.906, allocations: 34.69 kB / 4.345 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/5.907, allocations: 420.8 kB / 4.345 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/5.907, allocations: 3.719 kB / 4.345 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/5.907, allocations: 0 / 4.345 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/5.907, allocations: 7.375 kB / 4.345 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/5.908, allocations: 1.359 MB / 4.347 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/5.908, allocations: 10.03 kB / 4.347 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/5.908, allocations: 58.12 kB / 4.347 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/5.908, allocations: 10.75 kB / 4.347 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/5.908, allocations: 3.281 kB / 4.347 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/5.908, allocations: 10.34 kB / 4.347 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/5.908, allocations: 8.5 kB / 4.347 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005231/5.909, allocations: 0.7603 MB / 4.348 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/5.909, allocations: 129.1 kB / 4.348 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/5.909, allocations: 11.73 kB / 4.348 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/5.91, allocations: 20.23 kB / 4.348 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/5.91, allocations: 35.41 kB / 4.348 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/5.91, allocations: 10.47 kB / 4.348 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001795/5.91, allocations: 223.2 kB / 4.348 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001452/5.911, allocations: 466.3 kB / 4.348 GB, free: 123.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.001841/5.913, allocations: 1.393 MB / 4.35 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004246/5.914, allocations: 354.9 kB / 4.35 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.914, allocations: 0 / 4.35 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/5.914, allocations: 127.7 kB / 4.35 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/5.914, allocations: 166 kB / 4.35 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/5.915, allocations: 0.585 MB / 4.351 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/5.916, allocations: 0.8949 MB / 4.352 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.9e-07/5.916, allocations: 0 / 4.352 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.02079/5.937, allocations: 16.37 MB / 4.368 GB, free: 122.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches