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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008933/0.0008935, allocations: 178.5 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3138/0.3138, allocations: 43.54 MB / 314.5 MB, free: 9.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 12 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3266/0.4316, allocations: 148.7 MB / 0.5776 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.4355, allocations: 3.306 MB / 0.5808 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.4358, allocations: 11.88 kB / 0.5808 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.4363, allocations: 155.3 kB / 0.5809 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.4367, allocations: 219.3 kB / 0.5811 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.4409, allocations: 1.6 MB / 0.5827 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007563/0.4417, allocations: 0.5434 MB / 0.5832 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.4421, allocations: 264.8 kB / 0.5835 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.4446, allocations: 1.236 MB / 0.5847 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.4449, allocations: 223.2 kB / 0.5849 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.445, allocations: 20 kB / 0.5849 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.4489, allocations: 2.501 MB / 0.5874 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.4491, allocations: 167.5 kB / 0.5875 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.4492, allocations: 113.5 kB / 0.5876 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.4512, allocations: 1.339 MB / 0.5889 GB, free: 11.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4512, allocations: 0 / 0.5889 GB, free: 11.28 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4512, allocations: 0 / 0.5889 GB, free: 11.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4512, allocations: 0 / 0.5889 GB, free: 11.28 MB / 462.1 MB 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.001659/0.4529, allocations: 0.9698 MB / 0.5899 GB, free: 10.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4529, allocations: 12.03 kB / 0.5899 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.4532, allocations: 59.42 kB / 0.59 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.4537, allocations: 354.1 kB / 0.5903 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.4538, allocations: 29 kB / 0.5903 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.4538, allocations: 40 kB / 0.5904 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.4546, allocations: 0.5159 MB / 0.5909 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4546, allocations: 0 / 0.5909 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.4547, allocations: 20 kB / 0.5909 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.4547, allocations: 12 kB / 0.5909 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.4555, allocations: 0.4987 MB / 0.5914 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.4579, allocations: 1.989 MB / 0.5933 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.4586, allocations: 452.8 kB / 0.5938 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007406/0.4593, allocations: 0.9455 MB / 0.5947 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4594, allocations: 42.56 kB / 0.5947 GB, free: 4.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.4594, allocations: 0 / 0.5947 GB, free: 4.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=30): time 0.001008/0.4604, allocations: 0.5041 MB / 0.5952 GB, free: 4.336 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.4605, allocations: 110.8 kB / 0.5953 GB, free: 4.203 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.4609, allocations: 397.5 kB / 0.5957 GB, free: 3.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.4609, allocations: 45.64 kB / 0.5957 GB, free: 3.758 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4611, allocations: 208.2 kB / 0.5959 GB, free: 3.551 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.4612, allocations: 114.5 kB / 0.5961 GB, free: 3.438 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.4612, allocations: 4 kB / 0.5961 GB, free: 3.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4613, allocations: 350.8 kB / 0.5964 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.4616, allocations: 152.7 kB / 0.5965 GB, free: 2.934 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.462, allocations: 266 kB / 0.5968 GB, free: 2.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.4624, allocations: 251.3 kB / 0.597 GB, free: 2.371 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4624, allocations: 0 / 0.597 GB, free: 2.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008815/0.4632, allocations: 0.5587 MB / 0.5976 GB, free: 1.797 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.4633, allocations: 59.41 kB / 0.5976 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4633, allocations: 4 kB / 0.5976 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4633, allocations: 4 kB / 0.5976 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.4637, allocations: 95.81 kB / 0.5977 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4637, allocations: 6.344 kB / 0.5977 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.4641, allocations: 71.7 kB / 0.5978 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.4641, allocations: 19.95 kB / 0.5978 GB, free: 1.531 MB / 462.1 MB 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 () * Number of clocked 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.0001996/0.4643, allocations: 182.4 kB / 0.598 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.4644, allocations: 43.53 kB / 0.598 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/0.4654, allocations: 0.498 MB / 0.5985 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4654, allocations: 4 kB / 0.5985 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4654, allocations: 1.188 kB / 0.5985 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.4654, allocations: 7.984 kB / 0.5985 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.468, allocations: 2.431 MB / 0.6009 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.468, allocations: 4 kB / 0.6009 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.4683, allocations: 59.91 kB / 0.601 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4683, allocations: 4 kB / 0.601 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.4684, allocations: 16.81 kB / 0.601 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.4684, allocations: 4 kB / 0.601 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4684, allocations: 4.188 kB / 0.601 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.4691, allocations: 0.7426 MB / 0.6017 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.4693, allocations: 144.4 kB / 0.6019 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.4693, allocations: 8 kB / 0.6019 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.4698, allocations: 24.05 kB / 0.6019 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.4698, allocations: 35.91 kB / 0.6019 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.4699, allocations: 23.97 kB / 0.602 GB, free: 12.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003453/0.4702, allocations: 355.1 kB / 0.6023 GB, free: 12.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4702, allocations: 0 / 0.6023 GB, free: 12.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4713, allocations: 379.6 kB / 0.6027 GB, free: 12.12 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.001124/0.4724, allocations: 0.5642 MB / 0.6032 GB, free: 11.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.4731, allocations: 486.3 kB / 0.6037 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4732, allocations: 0 / 0.6037 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.4735, allocations: 172.9 kB / 0.6038 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4746, allocations: 238 kB / 0.6041 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4757, allocations: 0.927 MB / 0.605 GB, free: 9.695 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.4761, allocations: 0.8432 MB / 0.6058 GB, free: 8.828 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.4765, allocations: 126.7 kB / 0.6059 GB, free: 8.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.4766, allocations: 43.44 kB / 0.606 GB, free: 8.668 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4766, allocations: 0 / 0.606 GB, free: 8.668 MB / 478.1 MB Notification: Performance of Templates: time 0.0206/0.4972, allocations: 14.84 MB / 0.6204 GB, free: 9.871 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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