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.00144/0.001447, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001636/0.001636, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.593/1.593, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2119/0.2119, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.312, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2059/0.5179, allocations: 181.3 MB / 0.696 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.52, allocations: 0.8969 MB / 0.6968 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.5203, allocations: 11.94 kB / 0.6968 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.5212, allocations: 206.7 kB / 0.697 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.5218, allocations: 290.3 kB / 0.6973 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005487/0.5273, allocations: 1.92 MB / 0.6992 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.5285, allocations: 0.9749 MB / 0.7001 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.529, allocations: 339.7 kB / 0.7005 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.5322, allocations: 1.538 MB / 0.702 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.5327, allocations: 322.8 kB / 0.7023 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.5328, allocations: 48 kB / 0.7023 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/0.5375, allocations: 2.726 MB / 0.705 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.5378, allocations: 195.5 kB / 0.7052 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.5381, allocations: 270.9 kB / 0.7054 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.5416, allocations: 2.019 MB / 0.7074 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5416, allocations: 3.938 kB / 0.7074 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5416, allocations: 0 / 0.7074 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.5416, allocations: 0 / 0.7074 GB, free: 10.35 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.0018/0.5434, allocations: 1.04 MB / 0.7084 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.5434, allocations: 12.03 kB / 0.7084 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.5437, allocations: 55.42 kB / 0.7085 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.5443, allocations: 385.9 kB / 0.7089 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.5443, allocations: 32.94 kB / 0.7089 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.5444, allocations: 36 kB / 0.7089 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.5453, allocations: 0.512 MB / 0.7094 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5453, allocations: 4 kB / 0.7094 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.5454, allocations: 16 kB / 0.7094 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5454, allocations: 12 kB / 0.7094 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.5463, allocations: 499.3 kB / 0.7099 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.5489, allocations: 1.97 MB / 0.7118 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.5496, allocations: 468.7 kB / 0.7123 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.55, allocations: 178.5 kB / 0.7125 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008457/0.5508, allocations: 0.9532 MB / 0.7134 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.5509, allocations: 38.56 kB / 0.7134 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.5509, allocations: 3.938 kB / 0.7134 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001167/0.5521, allocations: 0.489 MB / 0.7139 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.5521, allocations: 110.8 kB / 0.714 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.5526, allocations: 401.6 kB / 0.7144 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.5527, allocations: 33.7 kB / 0.7144 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.5528, allocations: 220.1 kB / 0.7146 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.5529, allocations: 98.56 kB / 0.7147 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5531, allocations: 82.06 kB / 0.7148 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5532, allocations: 350.7 kB / 0.7152 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.5535, allocations: 148.6 kB / 0.7153 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.5539, allocations: 266 kB / 0.7155 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007314/0.5547, allocations: 483.6 kB / 0.716 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.5547, allocations: 0 / 0.716 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001027/0.5557, allocations: 0.5511 MB / 0.7165 GB, free: 264 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.5558, allocations: 59.41 kB / 0.7166 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5558, allocations: 4 kB / 0.7166 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5558, allocations: 4 kB / 0.7166 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.5562, allocations: 95.88 kB / 0.7167 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.5563, allocations: 4 kB / 0.7167 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.5566, allocations: 51.42 kB / 0.7168 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.5567, allocations: 20 kB / 0.7168 GB, free: 12 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.2275/0.7842, allocations: 190.5 kB / 0.717 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.7844, allocations: 42.77 kB / 0.717 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.7857, allocations: 475.5 kB / 0.7175 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.7857, allocations: 6.75 kB / 0.7175 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7858, allocations: 1.094 kB / 0.7175 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.7858, allocations: 3.891 kB / 0.7175 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.7887, allocations: 2.446 MB / 0.7199 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7887, allocations: 2.891 kB / 0.7199 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.789, allocations: 59.53 kB / 0.7199 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7891, allocations: 5.594 kB / 0.7199 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.7891, allocations: 9.938 kB / 0.7199 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.7891, allocations: 4.422 kB / 0.7199 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7891, allocations: 6.219 kB / 0.7199 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007739/0.7899, allocations: 0.6438 MB / 0.7206 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.79, allocations: 125.3 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.7901, allocations: 16.62 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.7906, allocations: 19.66 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.7906, allocations: 27.56 kB / 0.7207 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.7907, allocations: 23.33 kB / 0.7208 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004675/0.7912, allocations: 362 kB / 0.7211 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7912, allocations: 2.719 kB / 0.7211 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001269/0.7924, allocations: 342 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.001175/0.7936, allocations: 498.3 kB / 0.7219 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009442/0.7946, allocations: 476.9 kB / 0.7224 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7946, allocations: 1.406 kB / 0.7224 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.7949, allocations: 164 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.001505/0.7964, allocations: 285.7 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.001253/0.7977, allocations: 0.7871 MB / 0.7236 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.798, allocations: 0.8336 MB / 0.7244 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004604/0.7985, allocations: 123.8 kB / 0.7245 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.7986, allocations: 47.02 kB / 0.7245 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.7986, allocations: 0 / 0.7245 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.02589/0.8245, allocations: 14.97 MB / 0.7392 GB, free: 178.5 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