Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001274/0.001274, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001383/0.001383, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.366/1.366, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.93 MB / 361.5 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 79.86 kB / 0.4974 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3138, allocations: 66.08 MB / 0.562 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5349/0.8487, allocations: 185.5 MB / 0.7432 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.8505, allocations: 0.9003 MB / 0.744 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.8507, allocations: 14.72 kB / 0.7441 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006458/0.8513, allocations: 215.2 kB / 0.7443 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.8518, allocations: 292.5 kB / 0.7445 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005539/0.8573, allocations: 1.963 MB / 0.7465 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.8584, allocations: 0.9948 MB / 0.7474 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.8588, allocations: 284.1 kB / 0.7477 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.8617, allocations: 1.595 MB / 0.7493 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.8623, allocations: 339 kB / 0.7496 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.8624, allocations: 46.38 kB / 0.7496 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.8667, allocations: 2.906 MB / 0.7525 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.8669, allocations: 203.4 kB / 0.7527 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.8673, allocations: 268.1 kB / 0.7529 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.871, allocations: 2.058 MB / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.871, allocations: 0.75 kB / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.871, allocations: 3.281 kB / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.871, allocations: 0.7812 kB / 0.7549 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.001961/0.873, allocations: 1.009 MB / 0.7559 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.873, allocations: 8.906 kB / 0.7559 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.8732, allocations: 57.38 kB / 0.756 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.8738, allocations: 323.9 kB / 0.7563 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.8738, allocations: 31.75 kB / 0.7563 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.8738, allocations: 40.58 kB / 0.7563 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.8746, allocations: 0.5143 MB / 0.7569 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.8746, allocations: 5.625 kB / 0.7569 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.8747, allocations: 23.41 kB / 0.7569 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.8747, allocations: 8.938 kB / 0.7569 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.8754, allocations: 496.9 kB / 0.7574 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.8778, allocations: 1.943 MB / 0.7593 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.8784, allocations: 359.5 kB / 0.7596 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.8787, allocations: 171.7 kB / 0.7598 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.8791, allocations: 130.5 kB / 0.7599 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.8791, allocations: 44.72 kB / 0.7599 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.8791, allocations: 1.203 kB / 0.7599 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009694/0.8801, allocations: 0.4914 MB / 0.7604 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.8801, allocations: 110.2 kB / 0.7605 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.8805, allocations: 401.8 kB / 0.7609 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.8805, allocations: 33.98 kB / 0.7609 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.8807, allocations: 217.3 kB / 0.7611 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.8807, allocations: 109.9 kB / 0.7612 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.8808, allocations: 74.66 kB / 0.7613 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.881, allocations: 355.7 kB / 0.7617 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.8812, allocations: 157.7 kB / 0.7618 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.8815, allocations: 250.4 kB / 0.762 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.8821, allocations: 488.2 kB / 0.7625 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8821, allocations: 3.125 kB / 0.7625 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008448/0.883, allocations: 0.5511 MB / 0.7631 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/0.8831, allocations: 64.31 kB / 0.7631 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.8831, allocations: 1.812 kB / 0.7631 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8831, allocations: 7.5 kB / 0.7631 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.8834, allocations: 78.88 kB / 0.7632 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.8834, allocations: 11.53 kB / 0.7632 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.8837, allocations: 55.19 kB / 0.7633 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.8838, allocations: 20.52 kB / 0.7633 GB, free: 13.93 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.0002078/0.884, allocations: 194.5 kB / 0.7635 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.8841, allocations: 41.33 kB / 0.7635 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.885, allocations: 493.1 kB / 0.764 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.885, allocations: 8.156 kB / 0.764 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.885, allocations: 0 / 0.764 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.885, allocations: 10.02 kB / 0.764 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.8873, allocations: 1.365 MB / 0.7653 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8873, allocations: 2.75 kB / 0.7653 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.8875, allocations: 61.12 kB / 0.7654 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.8875, allocations: 5.219 kB / 0.7654 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.8876, allocations: 17.45 kB / 0.7654 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.8876, allocations: 3 kB / 0.7654 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8876, allocations: 3.594 kB / 0.7654 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.8883, allocations: 0.6409 MB / 0.766 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.8884, allocations: 49.7 kB / 0.7661 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.8885, allocations: 17.62 kB / 0.7661 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.8889, allocations: 24.19 kB / 0.7661 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.8889, allocations: 30.56 kB / 0.7662 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.889, allocations: 21.06 kB / 0.7662 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003552/0.8893, allocations: 368.1 kB / 0.7665 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8893, allocations: 0.7188 kB / 0.7665 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001115/0.8904, allocations: 350.5 kB / 0.7669 GB, free: 12.6 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.001042/0.8915, allocations: 0.4907 MB / 0.7673 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007501/0.8922, allocations: 451.1 kB / 0.7678 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.8922, allocations: 2.844 kB / 0.7678 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.8925, allocations: 156.8 kB / 0.7679 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.8938, allocations: 287.9 kB / 0.7682 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.895, allocations: 0.8408 MB / 0.769 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.8955, allocations: 0.8367 MB / 0.7698 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.8956, allocations: 48.95 kB / 0.7699 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of SimCode: time 1.123e-06/0.8956, allocations: 0.9375 kB / 0.7699 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.01552/0.9112, allocations: 11.56 MB / 0.7812 GB, free: 9.773 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.74764215014875]