Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001827/0.001827, allocations: 169.5 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9161/0.9161, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2479/0.2479, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.31e-06, allocations: 4 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.699e-05, allocations: 2.312 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2815/0.2816, allocations: 146.1 MB / 0.5103 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.2835, allocations: 0.8785 MB / 0.5111 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.2838, allocations: 17.12 kB / 0.5112 GB, free: 18.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.2844, allocations: 115.4 kB / 0.5113 GB, free: 18.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006192/0.285, allocations: 297 kB / 0.5116 GB, free: 18.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.288, allocations: 1.325 MB / 0.5129 GB, free: 18.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.2891, allocations: 0.966 MB / 0.5138 GB, free: 17.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.2895, allocations: 295.2 kB / 0.5141 GB, free: 17.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.2904, allocations: 0.7082 MB / 0.5148 GB, free: 17.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.2908, allocations: 297.4 kB / 0.5151 GB, free: 17.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.2908, allocations: 45.44 kB / 0.5151 GB, free: 17.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.2929, allocations: 1.369 MB / 0.5164 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.2931, allocations: 216.9 kB / 0.5166 GB, free: 16.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.2933, allocations: 204.2 kB / 0.5168 GB, free: 16.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.2951, allocations: 1.394 MB / 0.5182 GB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2951, allocations: 0 / 0.5182 GB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2951, allocations: 0 / 0.5182 GB, free: 16.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2952, allocations: 0 / 0.5182 GB, free: 16.03 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.001165/0.2963, allocations: 1.001 MB / 0.5192 GB, free: 15.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2964, allocations: 16.88 kB / 0.5192 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.2966, allocations: 95.92 kB / 0.5193 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.297, allocations: 321.9 kB / 0.5196 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.297, allocations: 30.34 kB / 0.5196 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.2971, allocations: 47.97 kB / 0.5197 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.2975, allocations: 0.6123 MB / 0.5203 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2975, allocations: 3.938 kB / 0.5203 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.2976, allocations: 18 kB / 0.5203 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2976, allocations: 8.75 kB / 0.5203 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.2979, allocations: 197.1 kB / 0.5205 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2998, allocations: 1.735 MB / 0.5222 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.3001, allocations: 212 kB / 0.5224 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.3002, allocations: 77.22 kB / 0.5224 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.3004, allocations: 88.94 kB / 0.5225 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3005, allocations: 49.69 kB / 0.5226 GB, free: 12.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/0.3005, allocations: 2.031 kB / 0.5226 GB, free: 12.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004676/0.3009, allocations: 236.3 kB / 0.5228 GB, free: 12.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.3009, allocations: 105.8 kB / 0.5229 GB, free: 12.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3011, allocations: 333.8 kB / 0.5232 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3012, allocations: 35.2 kB / 0.5233 GB, free: 12.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.3012, allocations: 283.5 kB / 0.5235 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3013, allocations: 108.2 kB / 0.5236 GB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3014, allocations: 87.94 kB / 0.5237 GB, free: 11.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.3015, allocations: 0.5237 MB / 0.5242 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3016, allocations: 97.03 kB / 0.5243 GB, free: 11.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3017, allocations: 258.5 kB / 0.5246 GB, free: 11.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.302, allocations: 329.4 kB / 0.5249 GB, free: 10.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.302, allocations: 0 / 0.5249 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004528/0.3024, allocations: 424.8 kB / 0.5253 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.3025, allocations: 61.5 kB / 0.5253 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3025, allocations: 6.422 kB / 0.5254 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3025, allocations: 8.562 kB / 0.5254 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.3027, allocations: 80.89 kB / 0.5254 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3027, allocations: 8 kB / 0.5254 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3029, allocations: 34.39 kB / 0.5255 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.303, allocations: 19.92 kB / 0.5255 GB, free: 10.47 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.0001103/0.3031, allocations: 187.5 kB / 0.5257 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3032, allocations: 49.09 kB / 0.5257 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004952/0.3037, allocations: 318.3 kB / 0.526 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3037, allocations: 2.969 kB / 0.526 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3037, allocations: 2.312 kB / 0.526 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3037, allocations: 2.578 kB / 0.526 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3049, allocations: 1.118 MB / 0.5271 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3049, allocations: 0 / 0.5271 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3051, allocations: 63.53 kB / 0.5272 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3051, allocations: 2.531 kB / 0.5272 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3051, allocations: 12.97 kB / 0.5272 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3051, allocations: 7.438 kB / 0.5272 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3051, allocations: 2.781 kB / 0.5272 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.3054, allocations: 0.6366 MB / 0.5278 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.3055, allocations: 43.28 kB / 0.5279 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3055, allocations: 10.88 kB / 0.5279 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.3058, allocations: 19.61 kB / 0.5279 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.3058, allocations: 28.69 kB / 0.5279 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.3059, allocations: 19.83 kB / 0.5279 GB, free: 8.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.306, allocations: 237.5 kB / 0.5282 GB, free: 8.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.306, allocations: 0 / 0.5282 GB, free: 8.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008097/0.3068, allocations: 280.1 kB / 0.5284 GB, free: 8.516 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.0006912/0.3075, allocations: 396.3 kB / 0.5288 GB, free: 8.344 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.3078, allocations: 347.7 kB / 0.5292 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3078, allocations: 0 / 0.5292 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3079, allocations: 95.05 kB / 0.5292 GB, free: 8.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.3089, allocations: 230.4 kB / 0.5295 GB, free: 8.012 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3099, allocations: 0.7273 MB / 0.5302 GB, free: 7.512 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.316e-05/0.31, allocations: 134 kB / 0.5303 GB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.3102, allocations: 70.67 kB / 0.5304 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.3108, allocations: 299.3 kB / 0.5307 GB, free: 7.332 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3108, allocations: 0 / 0.5307 GB, free: 7.332 MB / 410.7 MB Notification: Performance of Templates: time 0.01704/0.3278, allocations: 13.22 MB / 0.5436 GB, free: 1.004 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6552533148787916]