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.001201/0.001201, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00181/0.00301, allocations: 449.7 kB / 10.37 MB, free: 328 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.001096/0.001096, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002518, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1165/1.132, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3134/0.3134, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03001/0.3434, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.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 1.553e-06/1.553e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.978e-05, allocations: 3.078 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.1591/0.1591, allocations: 148.7 MB / 439.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.161, allocations: 0.9097 MB / 440.2 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.1612, allocations: 19.81 kB / 440.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.1617, allocations: 115.2 kB / 440.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.1621, allocations: 305.9 kB / 440.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.1654, allocations: 1.257 MB / 441.9 MB, free: 472 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.2421/0.4075, allocations: 0.9576 MB / 442.8 MB, free: 4.391 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006465/0.4081, allocations: 294.5 kB / 443.1 MB, free: 4.371 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.4097, allocations: 0.7268 MB / 443.8 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.4102, allocations: 286.5 kB / 444.1 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.4102, allocations: 47.38 kB / 444.2 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.4123, allocations: 1.445 MB / 445.6 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.4125, allocations: 171.2 kB / 445.8 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.4127, allocations: 161.5 kB / 445.9 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.4142, allocations: 1.179 MB / 447.1 MB, free: 4.312 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-05/0.4143, allocations: 0 / 447.1 MB, free: 4.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4143, allocations: 0 / 447.1 MB, free: 4.312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.4143, allocations: 0 / 447.1 MB, free: 4.312 MB / 426.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.00149/0.4158, allocations: 1.049 MB / 448.2 MB, free: 19.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4158, allocations: 9.281 kB / 448.2 MB, free: 19.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.4161, allocations: 163.2 kB / 448.3 MB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.4165, allocations: 288.5 kB / 448.6 MB, free: 19.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4165, allocations: 33.5 kB / 448.6 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.4165, allocations: 40.16 kB / 448.7 MB, free: 19.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.417, allocations: 0.6147 MB / 449.3 MB, free: 19.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.417, allocations: 0 / 449.3 MB, free: 19.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.4171, allocations: 14.97 kB / 449.3 MB, free: 19.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4171, allocations: 9.875 kB / 449.3 MB, free: 19.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.4173, allocations: 185.3 kB / 449.5 MB, free: 19.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4186, allocations: 1.279 MB / 450.8 MB, free: 18.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.4189, allocations: 284.8 kB / 451.1 MB, free: 18.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.419, allocations: 72.22 kB / 451.1 MB, free: 18.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.4192, allocations: 77.56 kB / 451.2 MB, free: 18.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4192, allocations: 38.03 kB / 451.2 MB, free: 18.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.995e-06/0.4192, allocations: 4.25 kB / 451.2 MB, free: 18.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003455/0.4196, allocations: 193 kB / 451.4 MB, free: 18.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4196, allocations: 105.7 kB / 451.5 MB, free: 17.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.4198, allocations: 267 kB / 451.8 MB, free: 17.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.4198, allocations: 36.36 kB / 451.8 MB, free: 17.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.4199, allocations: 212 kB / 452 MB, free: 17.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.4199, allocations: 110.1 kB / 452.2 MB, free: 17.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.42, allocations: 69.33 kB / 452.2 MB, free: 17.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.4201, allocations: 345.2 kB / 452.6 MB, free: 17.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.4202, allocations: 102.7 kB / 452.7 MB, free: 17.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.4203, allocations: 210.9 kB / 452.9 MB, free: 16.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.4206, allocations: 292.6 kB / 453.1 MB, free: 16.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4206, allocations: 7.781 kB / 453.2 MB, free: 16.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002943/0.4208, allocations: 363.1 kB / 453.5 MB, free: 16.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.4209, allocations: 64.38 kB / 453.6 MB, free: 16.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4209, allocations: 2.781 kB / 453.6 MB, free: 16.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4209, allocations: 7 kB / 453.6 MB, free: 16.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.4211, allocations: 89.75 kB / 453.7 MB, free: 16.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4211, allocations: 13.56 kB / 453.7 MB, free: 16.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.4213, allocations: 39.03 kB / 453.7 MB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.4213, allocations: 20.88 kB / 453.7 MB, free: 16.5 MB / 442.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.0001173/0.4214, allocations: 137.9 kB / 453.9 MB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.4215, allocations: 40.56 kB / 453.9 MB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.4219, allocations: 291 kB / 454.2 MB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4219, allocations: 7.781 kB / 454.2 MB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4219, allocations: 64 / 454.2 MB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4219, allocations: 6.953 kB / 454.2 MB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.423, allocations: 0.9963 MB / 455.2 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.423, allocations: 4.625 kB / 455.2 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.4231, allocations: 67.09 kB / 455.3 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.4232, allocations: 38.88 kB / 455.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4232, allocations: 4.312 kB / 455.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4232, allocations: 7.281 kB / 455.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.4232, allocations: 13.88 kB / 455.3 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4232, allocations: 1.094 kB / 455.3 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.4236, allocations: 0.5866 MB / 455.9 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.4236, allocations: 15.17 kB / 455.9 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4238, allocations: 18.05 kB / 456 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.4239, allocations: 28.42 kB / 456 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.4239, allocations: 15.84 kB / 456 MB, free: 15.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.167e-05/0.424, allocations: 134.7 kB / 456.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.424, allocations: 0.7188 kB / 456.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006028/0.4246, allocations: 283.3 kB / 456.4 MB, free: 15.14 MB / 442.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.0006992/0.4253, allocations: 395.6 kB / 456.8 MB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.4256, allocations: 342.6 kB / 457.1 MB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.4256, allocations: 9.219 kB / 457.1 MB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.4257, allocations: 85.83 kB / 457.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.4264, allocations: 258.1 kB / 457.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.4296, allocations: 0.7642 MB / 458.2 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.4297, allocations: 127.8 kB / 458.4 MB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.4299, allocations: 73.44 kB / 458.4 MB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.4304, allocations: 243 kB / 458.7 MB, free: 14.24 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4304, allocations: 1 kB / 458.7 MB, free: 14.24 MB / 442.7 MB Notification: Performance of Templates: time 0.01415/0.4445, allocations: 13.7 MB / 472.4 MB, free: 12.71 MB / 442.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 -ignoreHideResult -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.8594489451497793]