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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 79.75 kB / 20.52 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002491/0.002491, allocations: 169.4 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 158.6 MB / 185.5 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2034/0.2034, allocations: 32.37 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003438/0.003438, allocations: 71.89 kB / 407.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1764, allocations: 61.04 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4274/0.6038, allocations: 161.5 MB / 0.6155 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.606, allocations: 0.8831 MB / 0.6164 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.6062, allocations: 15.88 kB / 0.6164 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.607, allocations: 186.7 kB / 0.6166 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006709/0.6077, allocations: 294.3 kB / 0.6168 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/0.6142, allocations: 2.184 MB / 0.619 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.6158, allocations: 0.9907 MB / 0.6199 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.6163, allocations: 273 kB / 0.6202 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.6209, allocations: 1.73 MB / 0.6219 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.6215, allocations: 322.8 kB / 0.6222 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6216, allocations: 48 kB / 0.6222 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005441/0.6271, allocations: 2.433 MB / 0.6246 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.6275, allocations: 207.4 kB / 0.6248 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.6279, allocations: 227.2 kB / 0.625 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.6321, allocations: 2.045 MB / 0.627 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6321, allocations: 0 / 0.627 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6321, allocations: 0 / 0.627 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.6321, allocations: 0 / 0.627 GB, free: 11.71 MB / 0.5294 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.002301/0.6344, allocations: 1.017 MB / 0.628 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6344, allocations: 8.031 kB / 0.628 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.6348, allocations: 55.72 kB / 0.6281 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.6354, allocations: 323.8 kB / 0.6284 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.6355, allocations: 36.88 kB / 0.6284 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.6356, allocations: 39.98 kB / 0.6285 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.6368, allocations: 0.7682 MB / 0.6292 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6368, allocations: 3.938 kB / 0.6292 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.6368, allocations: 16 kB / 0.6292 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.6369, allocations: 8 kB / 0.6292 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.6379, allocations: 497.2 kB / 0.6297 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.641, allocations: 1.491 MB / 0.6312 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.6418, allocations: 355.6 kB / 0.6315 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.6422, allocations: 166.5 kB / 0.6317 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.6428, allocations: 135.8 kB / 0.6318 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.6428, allocations: 38.56 kB / 0.6318 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 3.196e-06/0.6428, allocations: 0 / 0.6318 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001389/0.6442, allocations: 498.2 kB / 0.6323 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.6443, allocations: 106.8 kB / 0.6324 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.6447, allocations: 292.6 kB / 0.6327 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.6448, allocations: 33.7 kB / 0.6327 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.645, allocations: 236.3 kB / 0.633 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.6451, allocations: 103.1 kB / 0.6331 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.6453, allocations: 78.06 kB / 0.6331 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.6455, allocations: 342.8 kB / 0.6335 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.6459, allocations: 208 kB / 0.6337 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.6464, allocations: 319.7 kB / 0.634 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.6473, allocations: 488.5 kB / 0.6344 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6473, allocations: 0 / 0.6344 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001182/0.6485, allocations: 0.5974 MB / 0.635 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.6486, allocations: 63.39 kB / 0.6351 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6486, allocations: 4 kB / 0.6351 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.6486, allocations: 8 kB / 0.6351 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.649, allocations: 79.89 kB / 0.6352 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.649, allocations: 13.58 kB / 0.6352 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.6494, allocations: 40.05 kB / 0.6352 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.6495, allocations: 27.98 kB / 0.6352 GB, free: 2.832 MB / 0.5294 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.0002677/0.6497, allocations: 182.8 kB / 0.6354 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6499, allocations: 47.67 kB / 0.6355 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.651, allocations: 478.3 kB / 0.6359 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.6511, allocations: 8 kB / 0.6359 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6511, allocations: 3.938 kB / 0.6359 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.6511, allocations: 9.922 kB / 0.6359 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.6539, allocations: 1.198 MB / 0.6371 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.6539, allocations: 8.188 kB / 0.6371 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.6542, allocations: 59.91 kB / 0.6372 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.6542, allocations: 4 kB / 0.6372 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.6543, allocations: 11.98 kB / 0.6372 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.6543, allocations: 7.938 kB / 0.6372 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6543, allocations: 7.938 kB / 0.6372 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.6552, allocations: 0.6242 MB / 0.6378 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.6553, allocations: 43.72 kB / 0.6378 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.6553, allocations: 15.95 kB / 0.6379 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.6558, allocations: 19.98 kB / 0.6379 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.6559, allocations: 27.97 kB / 0.6379 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.6559, allocations: 27.86 kB / 0.6379 GB, free: 15.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003447/0.6563, allocations: 275 kB / 0.6382 GB, free: 15.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6563, allocations: 0 / 0.6382 GB, free: 15.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001306/0.6576, allocations: 398.8 kB / 0.6386 GB, free: 15.3 MB / 0.545 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.001421/0.659, allocations: 0.5736 MB / 0.6391 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000989/0.66, allocations: 0.4978 MB / 0.6396 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.66, allocations: 0 / 0.6396 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.6603, allocations: 160.8 kB / 0.6398 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.6616, allocations: 215.8 kB / 0.64 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.663, allocations: 0.7846 MB / 0.6407 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.6633, allocations: 244 kB / 0.641 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004399/0.6638, allocations: 91.31 kB / 0.6411 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.6639, allocations: 44.48 kB / 0.6411 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.6639, allocations: 0 / 0.6411 GB, free: 12.64 MB / 0.545 GB Notification: Performance of Templates: time 0.02789/0.6918, allocations: 14.39 MB / 0.6552 GB, free: 14.27 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.866753206937574]