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.001628/0.001628, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001552/0.001552, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.46/1.46, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.207/0.207, allocations: 44.17 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.1982/0.5401, allocations: 181.3 MB / 0.696 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.5426, allocations: 0.8853 MB / 0.6968 GB, free: 5.227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.5432, allocations: 11.94 kB / 0.6968 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007797/0.544, allocations: 202.7 kB / 0.697 GB, free: 5.016 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007697/0.5449, allocations: 286.3 kB / 0.6973 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00563/0.5505, allocations: 1.908 MB / 0.6992 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.5518, allocations: 0.9788 MB / 0.7001 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.5523, allocations: 325 kB / 0.7004 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.5558, allocations: 1.534 MB / 0.7019 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.5564, allocations: 326.7 kB / 0.7022 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.5565, allocations: 44 kB / 0.7023 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005603/0.5621, allocations: 2.738 MB / 0.705 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.5624, allocations: 191.5 kB / 0.7051 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.5628, allocations: 266.9 kB / 0.7054 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.5658, allocations: 2.023 MB / 0.7074 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5658, allocations: 4 kB / 0.7074 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5658, allocations: 3.938 kB / 0.7074 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5658, allocations: 0 / 0.7074 GB, free: 10.4 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.001794/0.5676, allocations: 1.036 MB / 0.7084 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5677, allocations: 8.031 kB / 0.7084 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.5679, allocations: 59.42 kB / 0.7085 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.5685, allocations: 381.9 kB / 0.7088 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.5685, allocations: 32.94 kB / 0.7089 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.5686, allocations: 36 kB / 0.7089 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.5694, allocations: 0.5198 MB / 0.7094 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5695, allocations: 4 kB / 0.7094 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.5695, allocations: 16 kB / 0.7094 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.5695, allocations: 8 kB / 0.7094 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008404/0.5704, allocations: 0.4954 MB / 0.7099 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.573, allocations: 1.974 MB / 0.7118 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.5737, allocations: 452.7 kB / 0.7123 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.574, allocations: 174.5 kB / 0.7124 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.5748, allocations: 0.9533 MB / 0.7134 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.5749, allocations: 54.48 kB / 0.7134 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.5749, allocations: 0 / 0.7134 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001092/0.576, allocations: 488.9 kB / 0.7139 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.5761, allocations: 110.8 kB / 0.714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.5765, allocations: 393.6 kB / 0.7144 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.5766, allocations: 37.7 kB / 0.7144 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.5767, allocations: 224 kB / 0.7146 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.5768, allocations: 102.5 kB / 0.7147 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.5769, allocations: 74.06 kB / 0.7148 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5771, allocations: 358.7 kB / 0.7151 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.5774, allocations: 144.7 kB / 0.7153 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.5778, allocations: 269.1 kB / 0.7155 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.5786, allocations: 487.8 kB / 0.716 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5786, allocations: 0 / 0.716 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009898/0.5796, allocations: 0.5431 MB / 0.7165 GB, free: 328 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.5796, allocations: 66.2 kB / 0.7166 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5797, allocations: 4 kB / 0.7166 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.5797, allocations: 8 kB / 0.7166 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.5801, allocations: 83.83 kB / 0.7167 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5801, allocations: 8 kB / 0.7167 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.5805, allocations: 55.77 kB / 0.7167 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.5805, allocations: 31.98 kB / 0.7168 GB, free: 60 kB / 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.2435/0.824, allocations: 183.5 kB / 0.7169 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.8242, allocations: 43.66 kB / 0.717 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.8256, allocations: 478.9 kB / 0.7174 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.8256, allocations: 5.016 kB / 0.7174 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8256, allocations: 0.5625 kB / 0.7174 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.8257, allocations: 2.391 kB / 0.7174 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.8287, allocations: 2.437 MB / 0.7198 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.8287, allocations: 2.812 kB / 0.7198 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.829, allocations: 60.98 kB / 0.7199 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.829, allocations: 3.156 kB / 0.7199 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.8291, allocations: 12.66 kB / 0.7199 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.8291, allocations: 5.141 kB / 0.7199 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8291, allocations: 5.406 kB / 0.7199 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/0.8299, allocations: 0.6464 MB / 0.7205 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.83, allocations: 122.7 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.8301, allocations: 18.28 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.8305, allocations: 23.67 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.8306, allocations: 27.5 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.8307, allocations: 21.62 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004676/0.8311, allocations: 361.4 kB / 0.7211 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8311, allocations: 1.156 kB / 0.7211 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00131/0.8324, allocations: 340.3 kB / 0.7214 GB, free: 187.2 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.8337, allocations: 0.4961 MB / 0.7219 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008537/0.8346, allocations: 465.4 kB / 0.7223 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8346, allocations: 1.156 kB / 0.7223 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.8349, allocations: 168.9 kB / 0.7225 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.8363, allocations: 284.9 kB / 0.7228 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.8376, allocations: 0.7881 MB / 0.7235 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.838, allocations: 0.8352 MB / 0.7244 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004286/0.8384, allocations: 121.8 kB / 0.7245 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.8385, allocations: 47.31 kB / 0.7245 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.8385, allocations: 0 / 0.7245 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0242/0.8627, allocations: 15.11 MB / 0.7393 GB, free: 178.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/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