Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2278/0.2278, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 83.88 kB / 0.4968 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3076, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5283/0.8359, allocations: 185.5 MB / 0.7424 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.8376, allocations: 0.9006 MB / 0.7433 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.8378, allocations: 14.84 kB / 0.7433 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.8384, allocations: 207.9 kB / 0.7435 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.839, allocations: 292.5 kB / 0.7438 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.8436, allocations: 1.945 MB / 0.7457 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.8447, allocations: 0.9803 MB / 0.7466 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.8451, allocations: 277.3 kB / 0.7469 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.848, allocations: 1.583 MB / 0.7484 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.8485, allocations: 338.7 kB / 0.7487 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.8486, allocations: 48.06 kB / 0.7488 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/0.8533, allocations: 2.857 MB / 0.7516 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.8535, allocations: 201.3 kB / 0.7518 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.8539, allocations: 274 kB / 0.752 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.8571, allocations: 2.057 MB / 0.754 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.8571, allocations: 0 / 0.754 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8571, allocations: 0 / 0.754 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.8571, allocations: 3.625 kB / 0.754 GB, free: 1.535 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.002024/0.8591, allocations: 1.081 MB / 0.7551 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.8592, allocations: 10.03 kB / 0.7551 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.8595, allocations: 59.75 kB / 0.7552 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.86, allocations: 389.9 kB / 0.7555 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.8601, allocations: 29.34 kB / 0.7556 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.8601, allocations: 40.41 kB / 0.7556 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007879/0.8609, allocations: 0.5154 MB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.8609, allocations: 0 / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.861, allocations: 16.25 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.861, allocations: 8.688 kB / 0.7561 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.8617, allocations: 499.6 kB / 0.7566 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.8644, allocations: 1.978 MB / 0.7585 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.865, allocations: 440.2 kB / 0.759 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.8653, allocations: 170.8 kB / 0.7591 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009986/0.8663, allocations: 0.9536 MB / 0.7601 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.8664, allocations: 41.08 kB / 0.7601 GB, free: 14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.8664, allocations: 0 / 0.7601 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001133/0.8675, allocations: 0.4961 MB / 0.7606 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.8676, allocations: 107.1 kB / 0.7607 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.868, allocations: 397.5 kB / 0.7611 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.8681, allocations: 37.08 kB / 0.7611 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.8682, allocations: 218.2 kB / 0.7613 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.8683, allocations: 117.3 kB / 0.7614 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.8684, allocations: 76.77 kB / 0.7615 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.8686, allocations: 353.4 kB / 0.7618 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.8689, allocations: 147.8 kB / 0.762 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.8693, allocations: 265.5 kB / 0.7622 GB, free: 13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.87, allocations: 488 kB / 0.7627 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.87, allocations: 1 kB / 0.7627 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001043/0.871, allocations: 0.5466 MB / 0.7632 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.872e-05/0.8711, allocations: 62.84 kB / 0.7633 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.8711, allocations: 6.406 kB / 0.7633 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.8711, allocations: 4.5 kB / 0.7633 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.8715, allocations: 89.11 kB / 0.7634 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.8716, allocations: 7.969 kB / 0.7634 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.8719, allocations: 54.28 kB / 0.7634 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.872, allocations: 23.22 kB / 0.7635 GB, free: 12.6 MB / 0.5762 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.0002565/0.8723, allocations: 185 kB / 0.7636 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.8724, allocations: 45.27 kB / 0.7637 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.8733, allocations: 495.4 kB / 0.7641 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8733, allocations: 4.5 kB / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8733, allocations: 0 / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.8733, allocations: 9.625 kB / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.8765, allocations: 2.436 MB / 0.7665 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.8765, allocations: 0 / 0.7665 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.8768, allocations: 66.08 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.8768, allocations: 3.844 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.8768, allocations: 8.469 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8768, allocations: 6.531 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8768, allocations: 3.562 kB / 0.7666 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/0.8776, allocations: 0.6383 MB / 0.7672 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.8778, allocations: 126.5 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.8778, allocations: 15.44 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.8783, allocations: 18.84 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.8784, allocations: 27.7 kB / 0.7674 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.8784, allocations: 23.75 kB / 0.7674 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003708/0.8788, allocations: 366.6 kB / 0.7678 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8788, allocations: 1.203 kB / 0.7678 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001148/0.8799, allocations: 351 kB / 0.7681 GB, free: 9.871 MB / 0.5762 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.001363/0.8813, allocations: 0.5108 MB / 0.7686 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008103/0.8821, allocations: 460.3 kB / 0.7691 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.8821, allocations: 7 kB / 0.7691 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.8824, allocations: 155.7 kB / 0.7692 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8839, allocations: 275 kB / 0.7695 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.8852, allocations: 0.8077 MB / 0.7703 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.8857, allocations: 0.8346 MB / 0.7711 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004278/0.8861, allocations: 115.3 kB / 0.7712 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.8863, allocations: 53.45 kB / 0.7713 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.8863, allocations: 0 / 0.7713 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of Templates: time 0.02474/0.911, allocations: 15.25 MB / 0.7861 GB, free: 5.367 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.105431521777064]