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.001129/0.001129, allocations: 76.19 kB / 9.911 MB, free: 0.7734 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001576/0.002705, allocations: 447.8 kB / 10.35 MB, free: 344 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.001064/0.001064, allocations: 161.1 kB / 11.23 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002393, allocations: 463.6 kB / 11.69 MB, free: 2.477 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.8808/0.8808, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1514/1.032, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.121/0.121, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02301/0.1441, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.342e-06/1.342e-06, allocations: 0 / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.349e-05, allocations: 2.312 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2741/0.2741, allocations: 146.9 MB / 414.2 MB, free: 4.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.2758, allocations: 0.9142 MB / 415.1 MB, free: 3.469 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.276, allocations: 15.88 kB / 415.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.2763, allocations: 118 kB / 415.2 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.2769, allocations: 290.8 kB / 415.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.2795, allocations: 1.307 MB / 416.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2806, allocations: 0.9637 MB / 417.8 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.2809, allocations: 307.6 kB / 418.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008009/0.2817, allocations: 0.7095 MB / 418.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.2819, allocations: 283.2 kB / 419 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.282, allocations: 48 kB / 419.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.2836, allocations: 1.431 MB / 420.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2837, allocations: 175.6 kB / 420.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2838, allocations: 155.8 kB / 420.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.285, allocations: 1.165 MB / 422 MB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.285, allocations: 4 kB / 422 MB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.285, allocations: 4 kB / 422 MB, free: 12.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.285, allocations: 0 / 422 MB, free: 12.51 MB / 378.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.0009658/0.2859, allocations: 1.025 MB / 423 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.286, allocations: 11.89 kB / 423 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.2862, allocations: 170 kB / 423.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2865, allocations: 295.8 kB / 423.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2865, allocations: 25 kB / 423.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.2866, allocations: 40 kB / 423.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.2872, allocations: 0.6138 MB / 424.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2872, allocations: 4 kB / 424.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.2873, allocations: 12 kB / 424.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2873, allocations: 12 kB / 424.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.2875, allocations: 193.3 kB / 424.4 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.2886, allocations: 1.283 MB / 425.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.2889, allocations: 275.2 kB / 425.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.289, allocations: 72.2 kB / 426 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.2891, allocations: 71.94 kB / 426.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2891, allocations: 50.48 kB / 426.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.442e-06/0.2891, allocations: 4 kB / 426.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0002869/0.2894, allocations: 184.4 kB / 426.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2895, allocations: 110.8 kB / 426.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2896, allocations: 263 kB / 426.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2896, allocations: 33.7 kB / 426.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.2897, allocations: 216.6 kB / 426.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.2898, allocations: 103.1 kB / 427 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.2898, allocations: 73.98 kB / 427.1 MB, free: 7.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.2899, allocations: 346.7 kB / 427.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.29, allocations: 106.9 kB / 427.5 MB, free: 6.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2901, allocations: 209.7 kB / 427.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.2903, allocations: 303 kB / 428 MB, free: 6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2903, allocations: 0 / 428 MB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002805/0.2906, allocations: 363.7 kB / 428.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.2907, allocations: 59.41 kB / 428.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2907, allocations: 4 kB / 428.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2907, allocations: 4.375 kB / 428.5 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2909, allocations: 99.88 kB / 428.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2909, allocations: 11.94 kB / 428.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.291, allocations: 35.77 kB / 428.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.291, allocations: 16.81 kB / 428.6 MB, free: 5.375 MB / 378.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.568e-05/0.2911, allocations: 140.5 kB / 428.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.2912, allocations: 35.91 kB / 428.8 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.2916, allocations: 289.1 kB / 429.1 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2916, allocations: 6.438 kB / 429.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2916, allocations: 0 / 429.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2916, allocations: 7.984 kB / 429.1 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008808/0.2924, allocations: 0.9899 MB / 430.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2924, allocations: 4.188 kB / 430.1 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.2926, allocations: 67.89 kB / 430.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.2926, allocations: 35.7 kB / 430.2 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.2926, allocations: 4 kB / 430.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.2926, allocations: 15.88 kB / 430.2 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2926, allocations: 7.984 kB / 430.2 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2926, allocations: 3.938 kB / 430.2 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2929, allocations: 0.5853 MB / 430.8 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.293, allocations: 8 kB / 430.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.2931, allocations: 23.92 kB / 430.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.2932, allocations: 31.89 kB / 430.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.2932, allocations: 15.98 kB / 430.9 MB, free: 3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.2933, allocations: 123.4 kB / 431 MB, free: 2.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2933, allocations: 0 / 431 MB, free: 2.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007161/0.294, allocations: 283.2 kB / 431.3 MB, free: 2.598 MB / 378.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.0006247/0.2946, allocations: 436 kB / 431.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.2949, allocations: 346.8 kB / 432.1 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.2949, allocations: 4 kB / 432.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.295, allocations: 80.64 kB / 432.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.2956, allocations: 268.4 kB / 432.4 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.2986, allocations: 0.7674 MB / 433.2 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.946e-05/0.2987, allocations: 129.7 kB / 433.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.2988, allocations: 80.75 kB / 433.4 MB, free: 456 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.2992, allocations: 245 kB / 433.6 MB, free: 208 kB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2992, allocations: 0 / 433.6 MB, free: 208 kB / 378.7 MB Notification: Performance of Templates: time 0.01395/0.3132, allocations: 14.03 MB / 447.6 MB, free: 2.234 MB / 394.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.262750329449773]