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.001543/0.001543, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001083/0.001083, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9939/0.9939, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] 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.2451/0.2451, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 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 1.332e-06/1.332e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.768e-05, allocations: 10.28 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3447/0.3447, allocations: 148.2 MB / 474.2 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3458, allocations: 0.8984 MB / 475.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3459, allocations: 15.36 kB / 475.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.3463, allocations: 117.2 kB / 475.2 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.3466, allocations: 296.7 kB / 475.5 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.3486, allocations: 1.272 MB / 476.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006153/0.3492, allocations: 0.9618 MB / 477.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.3494, allocations: 303.4 kB / 478 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007219/0.3502, allocations: 0.6963 MB / 478.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.3504, allocations: 286.4 kB / 479 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.3505, allocations: 44.12 kB / 479.1 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.3519, allocations: 1.442 MB / 480.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.352, allocations: 203.9 kB / 480.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3522, allocations: 202.4 kB / 480.9 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.3533, allocations: 1.402 MB / 482.3 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3533, allocations: 4 kB / 482.3 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3533, allocations: 0 / 482.3 MB, free: 11.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3533, allocations: 0 / 482.3 MB, free: 11.85 MB / 410.7 MB 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.0007696/0.354, allocations: 0.8588 MB / 483.2 MB, free: 11.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.3541, allocations: 8.031 kB / 483.2 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3543, allocations: 86.95 kB / 483.3 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.3545, allocations: 292.5 kB / 483.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3545, allocations: 28.12 kB / 483.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.3546, allocations: 45.17 kB / 483.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3549, allocations: 0.6104 MB / 484.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3549, allocations: 2.656 kB / 484.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.355, allocations: 12.84 kB / 484.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.355, allocations: 10.78 kB / 484.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3552, allocations: 185.4 kB / 484.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3563, allocations: 1.285 MB / 485.7 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.3566, allocations: 277.6 kB / 486 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.3566, allocations: 76.91 kB / 486.1 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.3568, allocations: 75.81 kB / 486.1 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3568, allocations: 46.78 kB / 486.2 MB, free: 9.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.3568, allocations: 0 / 486.2 MB, free: 9.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0002864/0.3571, allocations: 184.5 kB / 486.4 MB, free: 9.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.3571, allocations: 114.6 kB / 486.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3572, allocations: 262.1 kB / 486.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3573, allocations: 38.61 kB / 486.8 MB, free: 9.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.3573, allocations: 209.1 kB / 487 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3573, allocations: 107.1 kB / 487.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.3574, allocations: 74.44 kB / 487.2 MB, free: 9.062 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.3575, allocations: 346 kB / 487.5 MB, free: 8.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.3575, allocations: 104.3 kB / 487.6 MB, free: 8.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.275e-05/0.3576, allocations: 199.1 kB / 487.8 MB, free: 8.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3578, allocations: 309.2 kB / 488.1 MB, free: 8.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3578, allocations: 2 kB / 488.1 MB, free: 8.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002623/0.3581, allocations: 357.7 kB / 488.4 MB, free: 8.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3581, allocations: 63.56 kB / 488.5 MB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3581, allocations: 6.375 kB / 488.5 MB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3581, allocations: 5.906 kB / 488.5 MB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.3583, allocations: 89.02 kB / 488.6 MB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3583, allocations: 5.312 kB / 488.6 MB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3584, allocations: 42.22 kB / 488.6 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.3585, allocations: 15.38 kB / 488.7 MB, free: 7.984 MB / 410.7 MB 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 8.078e-05/0.3585, allocations: 145.1 kB / 488.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.3586, allocations: 29.69 kB / 488.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.3589, allocations: 298.9 kB / 489.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3589, allocations: 2.656 kB / 489.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.3589, allocations: 3.312 kB / 489.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3589, allocations: 2.578 kB / 489.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.3598, allocations: 1 MB / 490.1 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3598, allocations: 2.781 kB / 490.1 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3599, allocations: 57.7 kB / 490.2 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3599, allocations: 2.938 kB / 490.2 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3599, allocations: 10.98 kB / 490.2 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3599, allocations: 6.312 kB / 490.2 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3599, allocations: 7.031 kB / 490.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.3602, allocations: 0.5879 MB / 490.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.3602, allocations: 49.02 kB / 490.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3602, allocations: 11.88 kB / 490.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3604, allocations: 20.89 kB / 490.9 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3605, allocations: 25.73 kB / 490.9 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3605, allocations: 14.77 kB / 490.9 MB, free: 6.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.438e-05/0.3606, allocations: 128.2 kB / 491.1 MB, free: 6.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 1.094 kB / 491.1 MB, free: 6.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.361, allocations: 276.7 kB / 491.3 MB, free: 6.566 MB / 410.7 MB 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.0005179/0.3615, allocations: 379 kB / 491.7 MB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3618, allocations: 333.4 kB / 492 MB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3618, allocations: 6.547 kB / 492 MB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.3619, allocations: 85.2 kB / 492.1 MB, free: 6.215 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.3624, allocations: 220 kB / 492.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.3632, allocations: 0.7339 MB / 493.1 MB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.3633, allocations: 122.6 kB / 493.2 MB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.3634, allocations: 81.55 kB / 493.3 MB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.3638, allocations: 242.9 kB / 493.5 MB, free: 5.547 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3638, allocations: 1.203 kB / 493.5 MB, free: 5.547 MB / 410.7 MB Notification: Performance of Templates: time 0.01285/0.3767, allocations: 13.08 MB / 0.4947 GB, free: 14.83 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5105102374218404]