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.00151/0.00151, allocations: 105 kB / 20.44 MB, free: 1.504 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.001752/0.001752, allocations: 215 kB / 23.75 MB, free: 4.727 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.347/1.347, allocations: 207.6 MB / 234.5 MB, free: 9.98 MB / 190.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.2021/0.2021, allocations: 44.22 MB / 331 MB, free: 9.531 MB / 270.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.002342/0.002342, allocations: 67.91 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 61.04 MB / 0.5174 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4355/0.5548, allocations: 187.2 MB / 0.7002 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.5569, allocations: 0.9008 MB / 0.7011 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.5573, allocations: 15.88 kB / 0.7011 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.5581, allocations: 206.7 kB / 0.7013 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007869/0.5588, allocations: 294.3 kB / 0.7016 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.565, allocations: 2.192 MB / 0.7037 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.5665, allocations: 1.006 MB / 0.7047 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.567, allocations: 273.3 kB / 0.705 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.5714, allocations: 1.734 MB / 0.7066 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007024/0.5721, allocations: 338.8 kB / 0.707 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.5722, allocations: 48 kB / 0.707 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005811/0.578, allocations: 3.046 MB / 0.71 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.5784, allocations: 203.4 kB / 0.7102 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.5789, allocations: 262.9 kB / 0.7104 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004965/0.5839, allocations: 2.135 MB / 0.7125 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5839, allocations: 0 / 0.7125 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5839, allocations: 0 / 0.7125 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.5839, allocations: 7.938 kB / 0.7125 GB, free: 11.5 MB / 0.545 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.002514/0.5864, allocations: 1.013 MB / 0.7135 GB, free: 10.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.5864, allocations: 8.031 kB / 0.7135 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.5868, allocations: 55.72 kB / 0.7136 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.5874, allocations: 323.8 kB / 0.7139 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.5874, allocations: 30.75 kB / 0.7139 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.5875, allocations: 36 kB / 0.714 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.5885, allocations: 0.5273 MB / 0.7145 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5885, allocations: 0 / 0.7145 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.5885, allocations: 16 kB / 0.7145 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.5885, allocations: 12 kB / 0.7145 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.5895, allocations: 495.3 kB / 0.715 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.5924, allocations: 1.942 MB / 0.7169 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.5931, allocations: 365.1 kB / 0.7172 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.5934, allocations: 174.5 kB / 0.7174 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/0.5939, allocations: 132 kB / 0.7175 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.5939, allocations: 38.56 kB / 0.7175 GB, free: 6.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.754e-06/0.5939, allocations: 4 kB / 0.7175 GB, free: 6.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.001143/0.5951, allocations: 0.4932 MB / 0.718 GB, free: 5.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.5951, allocations: 106.8 kB / 0.7181 GB, free: 5.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.5956, allocations: 393.7 kB / 0.7185 GB, free: 5.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.5957, allocations: 33.7 kB / 0.7185 GB, free: 5.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.5958, allocations: 224.5 kB / 0.7187 GB, free: 4.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/0.5959, allocations: 111 kB / 0.7189 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5961, allocations: 82 kB / 0.7189 GB, free: 4.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5962, allocations: 350.8 kB / 0.7193 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.5966, allocations: 152.6 kB / 0.7194 GB, free: 4.102 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.597, allocations: 258 kB / 0.7197 GB, free: 3.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.5977, allocations: 489.7 kB / 0.7201 GB, free: 3.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.5977, allocations: 0 / 0.7201 GB, free: 3.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001023/0.5987, allocations: 0.5508 MB / 0.7207 GB, free: 2.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.5988, allocations: 67.39 kB / 0.7207 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5988, allocations: 4 kB / 0.7207 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5988, allocations: 4 kB / 0.7207 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.5992, allocations: 79.89 kB / 0.7208 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.5992, allocations: 7.938 kB / 0.7208 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.5996, allocations: 59.61 kB / 0.7209 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.5996, allocations: 20.17 kB / 0.7209 GB, free: 2.453 MB / 0.545 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.0002342/0.5999, allocations: 189.7 kB / 0.7211 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6, allocations: 47.72 kB / 0.7211 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.6011, allocations: 486.4 kB / 0.7216 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6011, allocations: 4 kB / 0.7216 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6011, allocations: 3.984 kB / 0.7216 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6011, allocations: 4 kB / 0.7216 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.6037, allocations: 1.356 MB / 0.7229 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6037, allocations: 4 kB / 0.7229 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.604, allocations: 55.91 kB / 0.723 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.604, allocations: 7.938 kB / 0.723 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.604, allocations: 11.94 kB / 0.723 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.604, allocations: 4.188 kB / 0.723 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.604, allocations: 8 kB / 0.723 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/0.6049, allocations: 0.6435 MB / 0.7236 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.605, allocations: 51.69 kB / 0.7237 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/0.6051, allocations: 19.2 kB / 0.7237 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.6055, allocations: 19.98 kB / 0.7237 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.6056, allocations: 27.95 kB / 0.7238 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.6056, allocations: 23.98 kB / 0.7238 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004172/0.606, allocations: 363.1 kB / 0.7241 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.606, allocations: 0 / 0.7241 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001134/0.6072, allocations: 382.9 kB / 0.7245 GB, free: 14.64 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.001506/0.6087, allocations: 0.5942 MB / 0.7251 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008872/0.6096, allocations: 458.4 kB / 0.7255 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6096, allocations: 0 / 0.7255 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.6099, allocations: 155.7 kB / 0.7257 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6113, allocations: 281.1 kB / 0.7259 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.6128, allocations: 0.837 MB / 0.7267 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.6133, allocations: 0.8351 MB / 0.7276 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.6134, allocations: 51.42 kB / 0.7276 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.6134, allocations: 4 kB / 0.7276 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.02108/0.6345, allocations: 12.1 MB / 0.7394 GB, free: 15.27 MB / 0.5762 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 -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: 9.203684868989512]