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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.88 MB / 359.9 MB, free: 5.113 MB / 286.1 MB [Timeout remaining time 90] 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.00227/0.00227, allocations: 79.88 kB / 0.495 GB, free: 8.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3624, allocations: 65.97 MB / 0.5594 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.579/0.9415, allocations: 185.3 MB / 0.7403 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.9433, allocations: 0.8974 MB / 0.7412 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.9436, allocations: 9.375 kB / 0.7412 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.9443, allocations: 212.4 kB / 0.7414 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.9448, allocations: 293.7 kB / 0.7417 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.9495, allocations: 1.933 MB / 0.7436 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.9506, allocations: 0.9836 MB / 0.7445 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.951, allocations: 297.2 kB / 0.7448 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.9541, allocations: 1.584 MB / 0.7464 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.9546, allocations: 338.3 kB / 0.7467 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.9547, allocations: 46 kB / 0.7467 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/0.9593, allocations: 2.864 MB / 0.7495 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.9595, allocations: 200 kB / 0.7497 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.9599, allocations: 276.1 kB / 0.75 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.9635, allocations: 2.049 MB / 0.752 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.9635, allocations: 0 / 0.752 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9635, allocations: 3 kB / 0.752 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.9635, allocations: 1.125 kB / 0.752 GB, free: 1.539 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.001974/0.9655, allocations: 1.087 MB / 0.753 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.9655, allocations: 10.88 kB / 0.7531 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.9658, allocations: 57.72 kB / 0.7531 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.9663, allocations: 389.9 kB / 0.7535 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.9663, allocations: 27.84 kB / 0.7535 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.9664, allocations: 35.22 kB / 0.7535 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.9672, allocations: 0.5203 MB / 0.7541 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.9672, allocations: 4.312 kB / 0.7541 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.9672, allocations: 19.61 kB / 0.7541 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.9673, allocations: 8.219 kB / 0.7541 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007523/0.968, allocations: 0.49 MB / 0.7546 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.9705, allocations: 1.973 MB / 0.7565 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.9711, allocations: 440.8 kB / 0.7569 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.9714, allocations: 172.4 kB / 0.7571 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008547/0.9722, allocations: 0.9489 MB / 0.758 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.9723, allocations: 38.38 kB / 0.758 GB, free: 14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.9723, allocations: 0 / 0.758 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001009/0.9733, allocations: 0.497 MB / 0.7585 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.9734, allocations: 108.5 kB / 0.7586 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.9737, allocations: 406.1 kB / 0.759 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.9738, allocations: 38.02 kB / 0.759 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.9739, allocations: 213.9 kB / 0.7593 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.9739, allocations: 112.1 kB / 0.7594 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.9741, allocations: 78.81 kB / 0.7594 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.9742, allocations: 347.5 kB / 0.7598 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.9745, allocations: 154 kB / 0.7599 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.9748, allocations: 261.6 kB / 0.7602 GB, free: 13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.9755, allocations: 481.8 kB / 0.7606 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.9755, allocations: 0.875 kB / 0.7606 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008774/0.9764, allocations: 0.5558 MB / 0.7612 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/0.9764, allocations: 60.88 kB / 0.7612 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.9764, allocations: 4.656 kB / 0.7612 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9765, allocations: 6.125 kB / 0.7612 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.9768, allocations: 83.39 kB / 0.7613 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.9768, allocations: 8.125 kB / 0.7613 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.9772, allocations: 58.19 kB / 0.7614 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.9772, allocations: 24.36 kB / 0.7614 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.000205/0.9774, allocations: 186.5 kB / 0.7616 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.9775, allocations: 44.7 kB / 0.7616 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.9784, allocations: 495.6 kB / 0.7621 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9785, allocations: 2.75 kB / 0.7621 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9785, allocations: 6.062 kB / 0.7621 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9785, allocations: 3.875 kB / 0.7621 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.9813, allocations: 2.427 MB / 0.7645 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9813, allocations: 3.344 kB / 0.7645 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.9816, allocations: 61.08 kB / 0.7645 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.9816, allocations: 9.5 kB / 0.7645 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.9816, allocations: 8.406 kB / 0.7646 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.9816, allocations: 6.094 kB / 0.7646 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9816, allocations: 0 / 0.7646 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.9824, allocations: 0.6425 MB / 0.7652 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.9825, allocations: 127.9 kB / 0.7653 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.9826, allocations: 15.41 kB / 0.7653 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.983, allocations: 21.83 kB / 0.7653 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.9831, allocations: 37 kB / 0.7654 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.9831, allocations: 21.48 kB / 0.7654 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003481/0.9835, allocations: 367.3 kB / 0.7658 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9835, allocations: 0.9688 kB / 0.7658 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001087/0.9846, allocations: 350.9 kB / 0.7661 GB, free: 9.855 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.001073/0.9856, allocations: 0.4998 MB / 0.7666 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007716/0.9864, allocations: 463.6 kB / 0.767 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9864, allocations: 2.281 kB / 0.767 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.9867, allocations: 156.7 kB / 0.7672 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.001299/0.988, allocations: 280.2 kB / 0.7674 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.9893, allocations: 0.8426 MB / 0.7683 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.9898, allocations: 0.8345 MB / 0.7691 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.9899, allocations: 49.19 kB / 0.7691 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.9899, allocations: 0.7188 kB / 0.7691 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of Templates: time 0.01538/1.005, allocations: 11.58 MB / 0.7804 GB, free: 7.082 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 -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/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-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