Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001811/0.001811, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002365/0.002365, allocations: 211.4 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3024/0.3024, allocations: 46.97 MB / 361.6 MB, free: 4.113 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2104/0.5718, allocations: 160.4 MB / 0.7184 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.5738, allocations: 0.8736 MB / 0.7193 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.574, allocations: 19.81 kB / 0.7193 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.5747, allocations: 198.7 kB / 0.7195 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.5753, allocations: 294.3 kB / 0.7198 GB, free: 1.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005124/0.5804, allocations: 1.965 MB / 0.7217 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.5817, allocations: 0.9906 MB / 0.7227 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.5822, allocations: 289.2 kB / 0.723 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.5857, allocations: 1.585 MB / 0.7245 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.5863, allocations: 342.8 kB / 0.7248 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.348e-05/0.5864, allocations: 44 kB / 0.7249 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.5908, allocations: 2.37 MB / 0.7272 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.5911, allocations: 207.5 kB / 0.7274 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.5914, allocations: 227.2 kB / 0.7276 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.5946, allocations: 1.975 MB / 0.7295 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5947, allocations: 3.938 kB / 0.7295 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5947, allocations: 0 / 0.7295 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.5947, allocations: 0 / 0.7295 GB, free: 7.797 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.002047/0.5967, allocations: 0.9974 MB / 0.7305 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5967, allocations: 12.03 kB / 0.7305 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.597, allocations: 59.67 kB / 0.7306 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.5977, allocations: 323.8 kB / 0.7309 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.5977, allocations: 32.94 kB / 0.7309 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.5978, allocations: 36 kB / 0.7309 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.5989, allocations: 0.7708 MB / 0.7317 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.5989, allocations: 4 kB / 0.7317 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.599, allocations: 16 kB / 0.7317 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.599, allocations: 8 kB / 0.7317 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/0.5999, allocations: 491.5 kB / 0.7322 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.6026, allocations: 1.477 MB / 0.7336 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.6033, allocations: 367.6 kB / 0.734 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.6037, allocations: 174.5 kB / 0.7342 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/0.6041, allocations: 127.9 kB / 0.7343 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.6042, allocations: 46.48 kB / 0.7343 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.6042, allocations: 0 / 0.7343 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001182/0.6054, allocations: 497.1 kB / 0.7348 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.6054, allocations: 110.8 kB / 0.7349 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.6058, allocations: 292.6 kB / 0.7352 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.6058, allocations: 33.7 kB / 0.7352 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.606, allocations: 232.4 kB / 0.7354 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.6061, allocations: 107 kB / 0.7355 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.6062, allocations: 74.06 kB / 0.7356 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6064, allocations: 346.8 kB / 0.7359 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.6068, allocations: 208 kB / 0.7361 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.6072, allocations: 313.6 kB / 0.7364 GB, free: 324 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2679/0.8751, allocations: 479.8 kB / 0.7369 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.8751, allocations: 1.031 kB / 0.7369 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001321/0.8764, allocations: 0.5954 MB / 0.7375 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.8765, allocations: 63.19 kB / 0.7375 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.8765, allocations: 8.234 kB / 0.7375 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/0.8766, allocations: 5.375 kB / 0.7375 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.877, allocations: 89.5 kB / 0.7376 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.877, allocations: 6.312 kB / 0.7376 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.8774, allocations: 40.72 kB / 0.7377 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.8774, allocations: 22 kB / 0.7377 GB, free: 174.8 MB / 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.0002383/0.8777, allocations: 189.6 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.8778, allocations: 32.98 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.879, allocations: 484.2 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.879, allocations: 10.91 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.879, allocations: 1.156 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.879, allocations: 7.172 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.8814, allocations: 1.196 MB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.8814, allocations: 6.656 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.8817, allocations: 62.86 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.8817, allocations: 3.844 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.8817, allocations: 9.172 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.8817, allocations: 4.75 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8817, allocations: 6.031 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.8824, allocations: 0.6304 MB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.8825, allocations: 38.09 kB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.8825, allocations: 22.8 kB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.8829, allocations: 16.39 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.883, allocations: 31.36 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.8831, allocations: 23.17 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002393/0.8833, allocations: 277.6 kB / 0.7407 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8833, allocations: 0 / 0.7407 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00102/0.8843, allocations: 367.6 kB / 0.741 GB, free: 173.1 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.0009953/0.8853, allocations: 0.4986 MB / 0.7415 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.886, allocations: 0.4986 MB / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8861, allocations: 0 / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.8863, allocations: 158.4 kB / 0.7421 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.8874, allocations: 200.2 kB / 0.7423 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.8885, allocations: 0.8251 MB / 0.7431 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.8887, allocations: 244.5 kB / 0.7434 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.8888, allocations: 51.02 kB / 0.7434 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.8888, allocations: 0 / 0.7434 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01138/0.9002, allocations: 10.66 MB / 0.7538 GB, free: 161.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 10.628472274984233]