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.0009697/0.0009697, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001008/0.001008, allocations: 166 kB / 24.91 MB, free: 8.262 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.9824/0.9824, allocations: 177 MB / 205.2 MB, free: 5.469 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.2691/0.2691, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 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.193e-06/1.193e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.099e-05, allocations: 4.141 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3013/0.3013, allocations: 148.2 MB / 474.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3029, allocations: 0.9051 MB / 475 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.3031, allocations: 14.16 kB / 475 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.3035, allocations: 112 kB / 475.1 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.304, allocations: 303.6 kB / 475.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.3065, allocations: 1.331 MB / 476.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009564/0.3075, allocations: 0.9669 MB / 477.7 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.3079, allocations: 293.9 kB / 478 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.3089, allocations: 0.7053 MB / 478.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.3093, allocations: 281.9 kB / 479 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.3094, allocations: 47.06 kB / 479 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.3113, allocations: 1.382 MB / 480.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3115, allocations: 201.6 kB / 480.6 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.3117, allocations: 203.2 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.3136, allocations: 1.398 MB / 482.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3136, allocations: 0 / 482.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3136, allocations: 0 / 482.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3136, allocations: 0 / 482.2 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.001061/0.3147, allocations: 0.8638 MB / 483.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.3147, allocations: 8.344 kB / 483.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.3149, allocations: 85.23 kB / 483.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3152, allocations: 296.2 kB / 483.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3152, allocations: 27.28 kB / 483.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.3153, allocations: 41.53 kB / 483.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.3157, allocations: 0.6058 MB / 484.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3157, allocations: 0 / 484.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.3157, allocations: 17.94 kB / 484.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3157, allocations: 7.969 kB / 484.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.3159, allocations: 186.5 kB / 484.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.3171, allocations: 1.287 MB / 485.6 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3173, allocations: 286.8 kB / 485.9 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.3174, allocations: 76.83 kB / 486 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.3176, allocations: 70.7 kB / 486.1 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3176, allocations: 45.39 kB / 486.1 MB, free: 9.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.283e-06/0.3176, allocations: 0 / 486.1 MB, free: 9.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003041/0.3179, allocations: 188.7 kB / 486.3 MB, free: 9.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.3179, allocations: 109.1 kB / 486.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3181, allocations: 262.1 kB / 486.6 MB, free: 9.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3181, allocations: 37.58 kB / 486.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.3181, allocations: 213.9 kB / 486.9 MB, free: 9.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3182, allocations: 112.5 kB / 487 MB, free: 9.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.3183, allocations: 70.31 kB / 487.1 MB, free: 9.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.3183, allocations: 347.3 kB / 487.4 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.3184, allocations: 98.28 kB / 487.5 MB, free: 8.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.3185, allocations: 201.9 kB / 487.7 MB, free: 8.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.3187, allocations: 303 kB / 488 MB, free: 8.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3187, allocations: 2.938 kB / 488 MB, free: 8.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002515/0.3189, allocations: 366.1 kB / 488.4 MB, free: 8.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.319, allocations: 61.41 kB / 488.4 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.319, allocations: 2.938 kB / 488.4 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.319, allocations: 5.469 kB / 488.4 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3192, allocations: 80.03 kB / 488.5 MB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3192, allocations: 10.2 kB / 488.5 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3193, allocations: 39.81 kB / 488.5 MB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.3193, allocations: 16.48 kB / 488.6 MB, free: 7.98 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 9.386e-05/0.3194, allocations: 149.5 kB / 488.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.3195, allocations: 32.5 kB / 488.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.3198, allocations: 296.1 kB / 489 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3198, allocations: 3.031 kB / 489 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3198, allocations: 3.516 kB / 489 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3198, allocations: 6.578 kB / 489 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.3208, allocations: 0.9962 MB / 490 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3208, allocations: 2.062 kB / 490 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.3209, allocations: 55.5 kB / 490.1 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3209, allocations: 2.656 kB / 490.1 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3209, allocations: 12.3 kB / 490.1 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.3209, allocations: 11.16 kB / 490.1 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3209, allocations: 5.938 kB / 490.1 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3211, allocations: 0.5848 MB / 490.7 MB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.3212, allocations: 44.33 kB / 490.8 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.3212, allocations: 9.938 kB / 490.8 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3214, allocations: 23.53 kB / 490.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3214, allocations: 23.14 kB / 490.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3215, allocations: 17.23 kB / 490.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.649e-05/0.3215, allocations: 126.1 kB / 491 MB, free: 6.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3215, allocations: 4 kB / 491 MB, free: 6.609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006261/0.3222, allocations: 275.3 kB / 491.2 MB, free: 6.562 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.0006147/0.3228, allocations: 373.2 kB / 491.6 MB, free: 6.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.3231, allocations: 333.2 kB / 491.9 MB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.3231, allocations: 5.219 kB / 491.9 MB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.3231, allocations: 87.23 kB / 492 MB, free: 6.207 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.3238, allocations: 220.2 kB / 492.2 MB, free: 6.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.3246, allocations: 0.738 MB / 493 MB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.3247, allocations: 124.7 kB / 493.1 MB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.3249, allocations: 79.59 kB / 493.2 MB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.3253, allocations: 243.7 kB / 493.4 MB, free: 5.559 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3253, allocations: 0 / 493.4 MB, free: 5.559 MB / 410.7 MB Notification: Performance of Templates: time 0.01313/0.3384, allocations: 13.09 MB / 0.4946 GB, free: 14.88 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 -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.5669853328727186]