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.001241/0.001241, allocations: 106.8 kB / 16.93 MB, free: 5.793 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.001068/0.001068, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.57/1.57, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2346/0.2346, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.001713/0.001713, allocations: 64.92 kB / 383.4 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1058, allocations: 57.78 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4411/0.5469, allocations: 186.3 MB / 0.6128 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.5489, allocations: 0.8949 MB / 0.6136 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.5492, allocations: 9.375 kB / 0.6136 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007266/0.55, allocations: 203.2 kB / 0.6138 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005786/0.5506, allocations: 281.7 kB / 0.6141 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005688/0.5563, allocations: 2.154 MB / 0.6162 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.5575, allocations: 0.9762 MB / 0.6172 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.558, allocations: 334.7 kB / 0.6175 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.5622, allocations: 1.698 MB / 0.6191 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.5627, allocations: 318.8 kB / 0.6194 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.085e-05/0.5628, allocations: 45.5 kB / 0.6195 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005744/0.5686, allocations: 2.852 MB / 0.6223 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.5689, allocations: 195.5 kB / 0.6225 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.5693, allocations: 266.8 kB / 0.6227 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.5739, allocations: 2.101 MB / 0.6248 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.574, allocations: 11.94 kB / 0.6248 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.574, allocations: 3.938 kB / 0.6248 GB, free: 12.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.574, allocations: 0 / 0.6248 GB, free: 12.79 MB / 446.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.002115/0.5761, allocations: 1.06 MB / 0.6258 GB, free: 11.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5762, allocations: 15.97 kB / 0.6258 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.5765, allocations: 55.44 kB / 0.6259 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.577, allocations: 365.9 kB / 0.6262 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.577, allocations: 29 kB / 0.6263 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/0.5771, allocations: 43.98 kB / 0.6263 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009008/0.578, allocations: 0.5236 MB / 0.6268 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5781, allocations: 0 / 0.6268 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.5781, allocations: 16 kB / 0.6268 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.5781, allocations: 8 kB / 0.6268 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.579, allocations: 0.4915 MB / 0.6273 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.5817, allocations: 1.974 MB / 0.6292 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.5825, allocations: 456.7 kB / 0.6297 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.5828, allocations: 178.5 kB / 0.6298 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/0.5837, allocations: 0.9494 MB / 0.6308 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5838, allocations: 38.56 kB / 0.6308 GB, free: 6.074 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/0.5838, allocations: 3.938 kB / 0.6308 GB, free: 6.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.00116/0.5849, allocations: 0.4956 MB / 0.6313 GB, free: 5.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.585, allocations: 110.8 kB / 0.6314 GB, free: 5.438 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.5855, allocations: 397.6 kB / 0.6318 GB, free: 5.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.5855, allocations: 33.7 kB / 0.6318 GB, free: 5.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.5857, allocations: 220.1 kB / 0.632 GB, free: 4.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.5858, allocations: 98.55 kB / 0.6321 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.5859, allocations: 85.97 kB / 0.6322 GB, free: 4.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5861, allocations: 354.8 kB / 0.6325 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.5864, allocations: 144.7 kB / 0.6327 GB, free: 4.102 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.5868, allocations: 269.5 kB / 0.6329 GB, free: 3.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.5876, allocations: 487.8 kB / 0.6334 GB, free: 3.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5876, allocations: 0 / 0.6334 GB, free: 3.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001/0.5886, allocations: 0.5511 MB / 0.6339 GB, free: 2.695 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.5887, allocations: 71.33 kB / 0.634 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5887, allocations: 0 / 0.634 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5887, allocations: 8 kB / 0.634 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.5891, allocations: 87.83 kB / 0.6341 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.5892, allocations: 5.562 kB / 0.6341 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.5895, allocations: 47.52 kB / 0.6341 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.5896, allocations: 23.98 kB / 0.6342 GB, free: 2.445 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.5898, allocations: 189.6 kB / 0.6343 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5899, allocations: 47.42 kB / 0.6344 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.591, allocations: 483.9 kB / 0.6349 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.591, allocations: 4 kB / 0.6349 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.591, allocations: 4 kB / 0.6349 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.591, allocations: 3.984 kB / 0.6349 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.5941, allocations: 2.437 MB / 0.6372 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5941, allocations: 4.062 kB / 0.6372 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.5944, allocations: 63.91 kB / 0.6373 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5944, allocations: 4 kB / 0.6373 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.5944, allocations: 11.94 kB / 0.6373 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.5945, allocations: 4 kB / 0.6373 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5945, allocations: 4 kB / 0.6373 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.5953, allocations: 0.6355 MB / 0.638 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.5954, allocations: 128.6 kB / 0.6381 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.5955, allocations: 11.94 kB / 0.6381 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.5959, allocations: 19.98 kB / 0.6381 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.596, allocations: 23.97 kB / 0.6381 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.596, allocations: 19.98 kB / 0.6381 GB, free: 13.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.5965, allocations: 363.1 kB / 0.6385 GB, free: 13.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5965, allocations: 3.938 kB / 0.6385 GB, free: 13.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001198/0.5977, allocations: 383.6 kB / 0.6389 GB, free: 13.21 MB / 462.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 (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.001355/0.599, allocations: 0.5755 MB / 0.6394 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008995/0.5999, allocations: 486.3 kB / 0.6399 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6, allocations: 0.75 kB / 0.6399 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.6003, allocations: 171.7 kB / 0.6401 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6018, allocations: 292.5 kB / 0.6403 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.6032, allocations: 0.8293 MB / 0.6411 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.6036, allocations: 0.8351 MB / 0.642 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.6038, allocations: 55.42 kB / 0.642 GB, free: 9.891 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6038, allocations: 0 / 0.642 GB, free: 9.891 MB / 462.1 MB Notification: Performance of Templates: time 0.01726/0.621, allocations: 11.99 MB / 0.6537 GB, free: 13.93 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches