Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001288/0.001287, allocations: 210 kB / 8.543 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009841/0.000984, allocations: 93.17 kB / 286.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.181/0.181, allocations: 45.16 MB / 383.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.655e-06/7.685e-06, allocations: 3.938 kB / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 63.23 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.669/6.781, allocations: 3.403 GB / 3.906 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/6.782, allocations: 79.95 kB / 3.907 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.056/7.838, allocations: 294.2 MB / 4.194 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.53e-05/7.838, allocations: 15.94 kB / 4.194 GB, free: 81.25 MB / 0.5261 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.006724/7.844, allocations: 1.582 MB / 4.195 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/7.845, allocations: 8.031 kB / 4.195 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/7.845, allocations: 67.42 kB / 4.196 GB, free: 79.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/7.846, allocations: 361.7 kB / 4.196 GB, free: 79.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/7.846, allocations: 15.91 kB / 4.196 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/7.846, allocations: 20 kB / 4.196 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006964/7.846, allocations: 433.4 kB / 4.196 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/7.847, allocations: 448 kB / 4.197 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/7.847, allocations: 3.938 kB / 4.197 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/7.847, allocations: 4 kB / 4.197 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/7.847, allocations: 8 kB / 4.197 GB, free: 78.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/7.85, allocations: 2.05 MB / 4.199 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/7.85, allocations: 403.2 kB / 4.199 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/7.851, allocations: 138.6 kB / 4.199 GB, free: 75.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/7.851, allocations: 0.7821 MB / 4.2 GB, free: 74.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/7.851, allocations: 42.48 kB / 4.2 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.494e-06/7.851, allocations: 4 kB / 4.2 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0009149/7.852, allocations: 377.4 kB / 4.2 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/7.852, allocations: 118.7 kB / 4.201 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/7.853, allocations: 251.5 kB / 4.201 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/7.853, allocations: 29.7 kB / 4.201 GB, free: 73.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/7.853, allocations: 211.5 kB / 4.201 GB, free: 73.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/7.853, allocations: 90.66 kB / 4.201 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/7.853, allocations: 0 / 4.201 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001115/7.853, allocations: 342.8 kB / 4.201 GB, free: 72.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/7.853, allocations: 128.7 kB / 4.202 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/7.854, allocations: 233.9 kB / 4.202 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/7.854, allocations: 259.7 kB / 4.202 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/7.854, allocations: 0 / 4.202 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001011/7.855, allocations: 0.5037 MB / 4.203 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/7.855, allocations: 4 kB / 4.203 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/7.855, allocations: 7.938 kB / 4.203 GB, free: 71.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/7.855, allocations: 11.91 kB / 4.203 GB, free: 71.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/7.856, allocations: 92.25 kB / 4.203 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/7.856, allocations: 7.938 kB / 4.203 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/7.856, allocations: 39.67 kB / 4.203 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/7.856, allocations: 23.98 kB / 4.203 GB, free: 71.64 MB / 0.5261 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 0.0001201/7.856, allocations: 116.8 kB / 4.203 GB, free: 71.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/7.856, allocations: 35.62 kB / 4.203 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/7.857, allocations: 414.6 kB / 4.203 GB, free: 71.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/7.857, allocations: 4 kB / 4.203 GB, free: 71.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/7.857, allocations: 0 / 4.203 GB, free: 71.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/7.857, allocations: 7.984 kB / 4.203 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/7.859, allocations: 1.354 MB / 4.205 GB, free: 69.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/7.859, allocations: 12.19 kB / 4.205 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/7.859, allocations: 55.91 kB / 4.205 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-06/7.859, allocations: 8 kB / 4.205 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/7.859, allocations: 8 kB / 4.205 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/7.859, allocations: 15.92 kB / 4.205 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/7.859, allocations: 8.094 kB / 4.205 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006581/7.86, allocations: 0.7495 MB / 4.205 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/7.86, allocations: 128.6 kB / 4.206 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/7.86, allocations: 11.98 kB / 4.206 GB, free: 68.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/7.861, allocations: 23.92 kB / 4.206 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/7.861, allocations: 27.89 kB / 4.206 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/7.861, allocations: 19.98 kB / 4.206 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002122/7.861, allocations: 227.1 kB / 4.206 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002004/7.863, allocations: 430 kB / 4.206 GB, free: 67.66 MB / 0.5261 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.00225/7.865, allocations: 1.27 MB / 4.207 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005903/7.866, allocations: 347.1 kB / 4.208 GB, free: 66.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/7.866, allocations: 4 kB / 4.208 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/7.866, allocations: 125.7 kB / 4.208 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/7.867, allocations: 165.4 kB / 4.208 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/7.868, allocations: 0.5774 MB / 4.209 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/7.869, allocations: 0.8952 MB / 4.21 GB, free: 64.31 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/7.869, allocations: 4 kB / 4.21 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.02519/7.894, allocations: 15.7 MB / 4.225 GB, free: 48.72 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches