Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001227/0.001227, allocations: 109.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 184.3 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.2 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3383, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.1987/0.537, allocations: 181.3 MB / 0.6966 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.5391, allocations: 0.8969 MB / 0.6975 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.5394, allocations: 7.938 kB / 0.6975 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.5401, allocations: 210.7 kB / 0.6977 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.5408, allocations: 286.3 kB / 0.698 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006145/0.5469, allocations: 1.911 MB / 0.6999 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.5482, allocations: 0.9905 MB / 0.7008 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.5487, allocations: 321 kB / 0.7011 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.5521, allocations: 1.542 MB / 0.7026 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.5526, allocations: 322.8 kB / 0.7029 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.898e-05/0.5527, allocations: 48 kB / 0.703 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.5579, allocations: 2.734 MB / 0.7057 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.5581, allocations: 195.5 kB / 0.7058 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.5585, allocations: 266.9 kB / 0.7061 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.5626, allocations: 2.029 MB / 0.7081 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5627, allocations: 0 / 0.7081 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5627, allocations: 0 / 0.7081 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.5627, allocations: 0 / 0.7081 GB, free: 10.33 MB / 0.5606 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.001923/0.5646, allocations: 1.069 MB / 0.7091 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5647, allocations: 15.97 kB / 0.7091 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.565, allocations: 63.64 kB / 0.7092 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.5655, allocations: 382.1 kB / 0.7096 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.5655, allocations: 32.94 kB / 0.7096 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.5656, allocations: 36 kB / 0.7096 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.5665, allocations: 0.5159 MB / 0.7101 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5665, allocations: 0 / 0.7101 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.5666, allocations: 16 kB / 0.7102 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.5666, allocations: 12 kB / 0.7102 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.5675, allocations: 0.4915 MB / 0.7106 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.5701, allocations: 1.979 MB / 0.7126 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.5709, allocations: 460.7 kB / 0.713 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.5712, allocations: 178.5 kB / 0.7132 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008052/0.572, allocations: 0.9455 MB / 0.7141 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5721, allocations: 42.5 kB / 0.7141 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/0.5721, allocations: 4 kB / 0.7142 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001144/0.5732, allocations: 0.4931 MB / 0.7146 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5733, allocations: 106.8 kB / 0.7147 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.5737, allocations: 397.6 kB / 0.7151 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.5738, allocations: 33.7 kB / 0.7151 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5739, allocations: 220.5 kB / 0.7154 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.574, allocations: 119 kB / 0.7155 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.5742, allocations: 78.06 kB / 0.7155 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5743, allocations: 350.7 kB / 0.7159 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.5746, allocations: 148.6 kB / 0.716 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.575, allocations: 266 kB / 0.7163 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.5758, allocations: 483.7 kB / 0.7167 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.5758, allocations: 0 / 0.7167 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009876/0.5768, allocations: 0.5551 MB / 0.7173 GB, free: 188 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.5769, allocations: 59.41 kB / 0.7173 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5769, allocations: 4 kB / 0.7173 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5769, allocations: 4 kB / 0.7173 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.5774, allocations: 91.81 kB / 0.7174 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.5774, allocations: 4 kB / 0.7174 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2538/0.8312, allocations: 42.67 kB / 0.7175 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.8314, allocations: 20.39 kB / 0.7175 GB, free: 190.2 MB / 0.5606 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.8317, allocations: 189.1 kB / 0.7177 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.8319, allocations: 50.27 kB / 0.7177 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.8332, allocations: 482.3 kB / 0.7182 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8332, allocations: 4.812 kB / 0.7182 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8332, allocations: 1.453 kB / 0.7182 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.8333, allocations: 127.2 kB / 0.7183 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.8334, allocations: 15.2 kB / 0.7183 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.8338, allocations: 19.66 kB / 0.7183 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.8339, allocations: 26.66 kB / 0.7184 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009025/0.8348, allocations: 0.5701 MB / 0.7189 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007618/0.8356, allocations: 0.6876 MB / 0.7196 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002797/0.8358, allocations: 144.8 kB / 0.7197 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003959/0.8363, allocations: 361.1 kB / 0.7201 GB, free: 189 MB / 0.5606 GB Notification: Performance of Backend: time 4.01e-07/0.8363, allocations: 3.406 kB / 0.7201 GB, free: 189 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.8395, allocations: 1.044 MB / 0.7211 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001862/0.8414, allocations: 1.319 MB / 0.7224 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02601/0.8674, allocations: 19.07 MB / 0.741 GB, free: 177.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches