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.002079/0.002079, allocations: 99.59 kB / 20.97 MB, free: 3.441 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.002391/0.002391, allocations: 157.7 kB / 24.27 MB, free: 144 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 1.611/1.611, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3706/0.3706, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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 2.325e-06/2.325e-06, allocations: 3.938 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.014e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4012/0.4012, allocations: 178 MB / 0.5423 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.4032, allocations: 0.8858 MB / 0.5431 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.4034, allocations: 13.72 kB / 0.5432 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.4041, allocations: 205 kB / 0.5434 GB, free: 12.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006148/0.4047, allocations: 305.8 kB / 0.5436 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.4097, allocations: 1.999 MB / 0.5456 GB, free: 11.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.411, allocations: 0.9942 MB / 0.5466 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004816/0.4115, allocations: 292.7 kB / 0.5468 GB, free: 10.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.4151, allocations: 1.737 MB / 0.5485 GB, free: 9.504 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.4156, allocations: 293.5 kB / 0.5488 GB, free: 9.348 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.4157, allocations: 45.53 kB / 0.5489 GB, free: 9.348 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004315/0.42, allocations: 2.304 MB / 0.5511 GB, free: 8.199 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.4203, allocations: 214.3 kB / 0.5513 GB, free: 8.051 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.4206, allocations: 203.4 kB / 0.5515 GB, free: 7.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004472/0.425, allocations: 2.22 MB / 0.5537 GB, free: 5.684 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.425, allocations: 0 / 0.5537 GB, free: 5.684 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.425, allocations: 0 / 0.5537 GB, free: 5.684 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.4251, allocations: 0 / 0.5537 GB, free: 5.684 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.00212/0.4272, allocations: 1.125 MB / 0.5548 GB, free: 4.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4272, allocations: 8.031 kB / 0.5548 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.4276, allocations: 99.52 kB / 0.5549 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.4282, allocations: 338.2 kB / 0.5552 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.4283, allocations: 28.94 kB / 0.5552 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.4284, allocations: 44 kB / 0.5553 GB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4294, allocations: 0.7043 MB / 0.556 GB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4295, allocations: 7.938 kB / 0.556 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.4295, allocations: 16 kB / 0.556 GB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4295, allocations: 8 kB / 0.556 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008274/0.4304, allocations: 371.7 kB / 0.5563 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.4334, allocations: 1.864 MB / 0.5582 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.4341, allocations: 318.2 kB / 0.5585 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.4344, allocations: 135 kB / 0.5586 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00048/0.4349, allocations: 127.9 kB / 0.5587 GB, free: 244 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.4349, allocations: 58.39 kB / 0.5588 GB, free: 176 kB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.4349, allocations: 0 / 0.5588 GB, free: 176 kB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001068/0.436, allocations: 383 kB / 0.5591 GB, free: 15.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.4361, allocations: 106.8 kB / 0.5592 GB, free: 15.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.4365, allocations: 374.3 kB / 0.5596 GB, free: 15.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.4366, allocations: 37.7 kB / 0.5596 GB, free: 15.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.4371, allocations: 295.2 kB / 0.5599 GB, free: 14.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.4372, allocations: 119 kB / 0.56 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.4374, allocations: 95.7 kB / 0.5601 GB, free: 14.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003261/0.4377, allocations: 0.5274 MB / 0.5606 GB, free: 14.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.438, allocations: 160 kB / 0.5608 GB, free: 14.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.4385, allocations: 320.1 kB / 0.5611 GB, free: 13.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.4392, allocations: 453.5 kB / 0.5615 GB, free: 13.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4392, allocations: 0 / 0.5615 GB, free: 13.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001079/0.4403, allocations: 0.531 MB / 0.562 GB, free: 12.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/0.4404, allocations: 63.34 kB / 0.5621 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4404, allocations: 4 kB / 0.5621 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.4404, allocations: 7.984 kB / 0.5621 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.4408, allocations: 80.28 kB / 0.5622 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.4408, allocations: 11.98 kB / 0.5622 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.4411, allocations: 39.66 kB / 0.5622 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.4412, allocations: 23.98 kB / 0.5623 GB, free: 12.32 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.0002614/0.4415, allocations: 200.5 kB / 0.5625 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.4416, allocations: 51.7 kB / 0.5625 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.4427, allocations: 432 kB / 0.5629 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4427, allocations: 4 kB / 0.5629 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4427, allocations: 0 / 0.5629 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.4427, allocations: 7.984 kB / 0.5629 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.4454, allocations: 1.337 MB / 0.5642 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4454, allocations: 8.188 kB / 0.5642 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.4457, allocations: 55.91 kB / 0.5643 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.4457, allocations: 4 kB / 0.5643 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.4458, allocations: 8 kB / 0.5643 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.4458, allocations: 4 kB / 0.5643 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4458, allocations: 3.938 kB / 0.5643 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.4467, allocations: 0.7413 MB / 0.565 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.4468, allocations: 31.75 kB / 0.5651 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.4469, allocations: 19.89 kB / 0.5651 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.4473, allocations: 19.98 kB / 0.5651 GB, free: 9.281 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.4474, allocations: 35.83 kB / 0.5651 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.4474, allocations: 19.98 kB / 0.5652 GB, free: 9.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003545/0.4478, allocations: 295 kB / 0.5654 GB, free: 8.938 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4478, allocations: 0 / 0.5654 GB, free: 8.938 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001164/0.4489, allocations: 362.9 kB / 0.5658 GB, free: 8.582 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.001349/0.4503, allocations: 0.5179 MB / 0.5663 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.4515, allocations: 476.9 kB / 0.5668 GB, free: 7.566 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4515, allocations: 0 / 0.5668 GB, free: 7.566 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.4518, allocations: 150.8 kB / 0.5669 GB, free: 7.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.453, allocations: 208.8 kB / 0.5671 GB, free: 7.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.4545, allocations: 0.7682 MB / 0.5678 GB, free: 6.398 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.4548, allocations: 236.1 kB / 0.5681 GB, free: 6.145 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000347/0.4552, allocations: 90.69 kB / 0.5682 GB, free: 6.066 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4553, allocations: 44.42 kB / 0.5682 GB, free: 6.023 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4553, allocations: 0 / 0.5682 GB, free: 6.023 MB / 442.7 MB Notification: Performance of Templates: time 0.02555/0.4808, allocations: 13.52 MB / 0.5814 GB, free: 8.707 MB / 458.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.975295869982801]