Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008532/0.0008532, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001641/0.002494, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00201/0.003527, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8387/0.8387, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1422/0.9809, allocations: 49.51 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1327/0.1327, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01962/0.1523, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.627e-05, allocations: 6.25 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2542/0.2542, allocations: 146.9 MB / 414.3 MB, free: 5.031 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.2557, allocations: 0.9207 MB / 415.3 MB, free: 4.141 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.2559, allocations: 15.88 kB / 415.3 MB, free: 4.125 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.2563, allocations: 107.2 kB / 415.4 MB, free: 4.02 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.2567, allocations: 298.9 kB / 415.7 MB, free: 3.734 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.2593, allocations: 1.303 MB / 417 MB, free: 2.426 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008863/0.2602, allocations: 0.9651 MB / 417.9 MB, free: 1.461 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.2606, allocations: 307.1 kB / 418.2 MB, free: 1.156 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009814/0.2616, allocations: 0.7132 MB / 418.9 MB, free: 452 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.2619, allocations: 275.2 kB / 419.2 MB, free: 176 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.262, allocations: 48 kB / 419.3 MB, free: 128 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.2644, allocations: 1.431 MB / 420.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2646, allocations: 179.6 kB / 420.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.2648, allocations: 155.8 kB / 421 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.2662, allocations: 1.169 MB / 422.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.2662, allocations: 0 / 422.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2662, allocations: 3.938 kB / 422.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2662, allocations: 0 / 422.2 MB, free: 13.19 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.001121/0.2674, allocations: 1.029 MB / 423.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2674, allocations: 11.89 kB / 423.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.2676, allocations: 170 kB / 423.4 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.268, allocations: 287.9 kB / 423.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.268, allocations: 29 kB / 423.7 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.2681, allocations: 48 kB / 423.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.2685, allocations: 0.606 MB / 424.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2685, allocations: 0 / 424.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.2685, allocations: 16 kB / 424.4 MB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2686, allocations: 12 kB / 424.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.2688, allocations: 193.3 kB / 424.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.27, allocations: 1.276 MB / 425.9 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.2702, allocations: 275.2 kB / 426.1 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.2703, allocations: 76.2 kB / 426.2 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.2705, allocations: 79.88 kB / 426.3 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2705, allocations: 42.55 kB / 426.3 MB, free: 8.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.2705, allocations: 0 / 426.3 MB, free: 8.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003058/0.2708, allocations: 187.6 kB / 426.5 MB, free: 8.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2709, allocations: 114.7 kB / 426.6 MB, free: 8.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.271, allocations: 267 kB / 426.9 MB, free: 8.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.2711, allocations: 33.7 kB / 426.9 MB, free: 8.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.2713, allocations: 212.6 kB / 427.1 MB, free: 7.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.2713, allocations: 107.1 kB / 427.2 MB, free: 7.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.2714, allocations: 73.98 kB / 427.3 MB, free: 7.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.2715, allocations: 346.7 kB / 427.6 MB, free: 7.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.2716, allocations: 107.8 kB / 427.7 MB, free: 7.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.2717, allocations: 201.7 kB / 427.9 MB, free: 7.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.2719, allocations: 310.3 kB / 428.2 MB, free: 6.664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2719, allocations: 4 kB / 428.2 MB, free: 6.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002791/0.2722, allocations: 361.3 kB / 428.6 MB, free: 6.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.2722, allocations: 63.77 kB / 428.7 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2722, allocations: 8 kB / 428.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2723, allocations: 4 kB / 428.7 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2725, allocations: 91.89 kB / 428.8 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.2725, allocations: 11.92 kB / 428.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2726, allocations: 35.78 kB / 428.8 MB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.2726, allocations: 22.23 kB / 428.8 MB, free: 6.031 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 0.0001005/0.2727, allocations: 140.5 kB / 429 MB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.2728, allocations: 31.97 kB / 429 MB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.2732, allocations: 292 kB / 429.3 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2732, allocations: 4 kB / 429.3 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2732, allocations: 3.938 kB / 429.3 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2732, allocations: 4 kB / 429.3 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.2741, allocations: 0.9945 MB / 430.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2741, allocations: 4 kB / 430.3 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2743, allocations: 63.91 kB / 430.3 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.2743, allocations: 43.67 kB / 430.4 MB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2743, allocations: 4 kB / 430.4 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2743, allocations: 11.94 kB / 430.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2743, allocations: 8.938 kB / 430.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2743, allocations: 0 / 430.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.2746, allocations: 0.5814 MB / 431 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.2746, allocations: 16.12 kB / 431 MB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2748, allocations: 23.86 kB / 431 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.2748, allocations: 27.95 kB / 431.1 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.2749, allocations: 15.98 kB / 431.1 MB, free: 3.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.637e-05/0.275, allocations: 123.4 kB / 431.2 MB, free: 3.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.275, allocations: 0 / 431.2 MB, free: 3.539 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005567/0.2755, allocations: 279.2 kB / 431.5 MB, free: 3.266 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.0007422/0.2763, allocations: 441.5 kB / 431.9 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.2766, allocations: 347.8 kB / 432.2 MB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.2766, allocations: 7.984 kB / 432.2 MB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.2767, allocations: 105.8 kB / 432.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008343/0.2776, allocations: 1.092 MB / 433.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.2808, allocations: 0.758 MB / 434.2 MB, free: 304 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.112e-05/0.2809, allocations: 134.3 kB / 434.3 MB, free: 148 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.2811, allocations: 63.19 kB / 434.4 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.2815, allocations: 245.1 kB / 434.6 MB, free: 15.84 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2815, allocations: 0 / 434.6 MB, free: 15.84 MB / 426.7 MB Notification: Performance of Templates: time 0.0145/0.296, allocations: 13.93 MB / 448.6 MB, free: 1.973 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.16640261746943]