Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001057/0.001057, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00117/0.00117, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9229/0.9229, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2785/0.2785, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.245e-05, allocations: 2.312 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.284/0.284, allocations: 148.8 MB / 0.5145 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2851, allocations: 0.8764 MB / 0.5154 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2853, allocations: 14.25 kB / 0.5154 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.2857, allocations: 125.5 kB / 0.5155 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.2861, allocations: 294.8 kB / 0.5158 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.2884, allocations: 1.323 MB / 0.5171 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000571/0.289, allocations: 0.9713 MB / 0.518 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.2893, allocations: 288 kB / 0.5183 GB, free: 13.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000706/0.29, allocations: 0.709 MB / 0.519 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.2902, allocations: 294.8 kB / 0.5193 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.2903, allocations: 45.94 kB / 0.5193 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.2915, allocations: 1.378 MB / 0.5207 GB, free: 13.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.2916, allocations: 212.2 kB / 0.5209 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.2918, allocations: 204.7 kB / 0.5211 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2928, allocations: 1.397 MB / 0.5224 GB, free: 12.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2929, allocations: 0 / 0.5224 GB, free: 12.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2929, allocations: 0 / 0.5224 GB, free: 12.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.2929, allocations: 0 / 0.5224 GB, free: 12.53 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.000893/0.2938, allocations: 1.001 MB / 0.5234 GB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2938, allocations: 11.44 kB / 0.5234 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.294, allocations: 95.88 kB / 0.5235 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.2944, allocations: 334.3 kB / 0.5238 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2944, allocations: 31.12 kB / 0.5239 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.2944, allocations: 47.28 kB / 0.5239 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.2949, allocations: 0.6504 MB / 0.5245 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2949, allocations: 3.938 kB / 0.5246 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.295, allocations: 17.84 kB / 0.5246 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.295, allocations: 8.125 kB / 0.5246 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.2953, allocations: 250 kB / 0.5248 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2965, allocations: 1.734 MB / 0.5265 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.2968, allocations: 240.6 kB / 0.5267 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2969, allocations: 102.2 kB / 0.5268 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.2971, allocations: 74.59 kB / 0.5269 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2971, allocations: 51.05 kB / 0.527 GB, free: 9.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.412e-06/0.2972, allocations: 0 / 0.527 GB, free: 9.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004557/0.2976, allocations: 280.6 kB / 0.5272 GB, free: 9.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.2976, allocations: 105.4 kB / 0.5273 GB, free: 9.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2978, allocations: 331.1 kB / 0.5276 GB, free: 8.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.2978, allocations: 32.14 kB / 0.5277 GB, free: 8.777 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.2979, allocations: 279.4 kB / 0.5279 GB, free: 8.539 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.298, allocations: 111 kB / 0.528 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.298, allocations: 86.11 kB / 0.5281 GB, free: 8.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.2981, allocations: 0.5112 MB / 0.5286 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.2982, allocations: 121.3 kB / 0.5287 GB, free: 7.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2984, allocations: 271.2 kB / 0.529 GB, free: 7.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.2986, allocations: 360 kB / 0.5293 GB, free: 7.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2986, allocations: 3.938 kB / 0.5293 GB, free: 7.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004161/0.2991, allocations: 460.6 kB / 0.5298 GB, free: 6.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.2991, allocations: 67.09 kB / 0.5298 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2991, allocations: 3.406 kB / 0.5298 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2991, allocations: 5.562 kB / 0.5299 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.2993, allocations: 80.42 kB / 0.5299 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2993, allocations: 5.25 kB / 0.5299 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.2994, allocations: 37.78 kB / 0.53 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.2995, allocations: 23.47 kB / 0.53 GB, free: 6.887 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.985e-05/0.2996, allocations: 188.4 kB / 0.5302 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.2996, allocations: 47.62 kB / 0.5302 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.3, allocations: 348.4 kB / 0.5306 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3, allocations: 5.406 kB / 0.5306 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3, allocations: 0 / 0.5306 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3, allocations: 0 / 0.5306 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/0.301, allocations: 1.2 MB / 0.5317 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.301, allocations: 2.281 kB / 0.5317 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3012, allocations: 59.75 kB / 0.5318 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3012, allocations: 6.719 kB / 0.5318 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3012, allocations: 12.97 kB / 0.5318 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3012, allocations: 3.406 kB / 0.5318 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3012, allocations: 2.562 kB / 0.5318 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.3015, allocations: 0.6656 MB / 0.5325 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.3015, allocations: 38.64 kB / 0.5325 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.3015, allocations: 12.02 kB / 0.5325 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3017, allocations: 25.36 kB / 0.5325 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.3018, allocations: 29.05 kB / 0.5326 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.3018, allocations: 19.14 kB / 0.5326 GB, free: 5.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3019, allocations: 263.7 kB / 0.5328 GB, free: 4.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3019, allocations: 0 / 0.5328 GB, free: 4.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004659/0.3024, allocations: 275.2 kB / 0.5331 GB, free: 4.855 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.0005483/0.3029, allocations: 405.8 kB / 0.5335 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.3033, allocations: 374.8 kB / 0.5338 GB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3033, allocations: 2.781 kB / 0.5338 GB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.3034, allocations: 108.5 kB / 0.5339 GB, free: 4.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.304, allocations: 228.8 kB / 0.5342 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.3048, allocations: 0.7276 MB / 0.5349 GB, free: 3.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.3049, allocations: 127.7 kB / 0.535 GB, free: 3.754 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.3051, allocations: 95.28 kB / 0.5351 GB, free: 3.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.3052, allocations: 44.05 kB / 0.5351 GB, free: 3.715 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3052, allocations: 0 / 0.5351 GB, free: 3.715 MB / 410.7 MB Notification: Performance of Templates: time 0.01251/0.3177, allocations: 13.07 MB / 0.5479 GB, free: 11.75 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.551652566064149]