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.001287/0.001287, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.00142/0.00142, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.428/1.428, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 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.2294/0.2294, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 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 0.002087/0.002087, allocations: 63.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3019, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2013/0.5032, allocations: 160.4 MB / 0.7184 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.5052, allocations: 0.8853 MB / 0.7193 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.5054, allocations: 11.88 kB / 0.7193 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.506, allocations: 198.7 kB / 0.7195 GB, free: 2.086 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.5066, allocations: 298.3 kB / 0.7198 GB, free: 1.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.5114, allocations: 1.957 MB / 0.7217 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00112/0.5126, allocations: 0.9945 MB / 0.7227 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.513, allocations: 277.3 kB / 0.7229 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.5162, allocations: 1.601 MB / 0.7245 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.5166, allocations: 334.8 kB / 0.7248 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.5167, allocations: 48 kB / 0.7249 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.5205, allocations: 2.363 MB / 0.7272 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.5208, allocations: 203.5 kB / 0.7274 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.521, allocations: 227.2 kB / 0.7276 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.5237, allocations: 1.983 MB / 0.7295 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5237, allocations: 0 / 0.7295 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5237, allocations: 0 / 0.7295 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.5237, allocations: 3.938 kB / 0.7295 GB, free: 7.809 MB / 0.5606 GB 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.001896/0.5256, allocations: 1.005 MB / 0.7305 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5256, allocations: 8.031 kB / 0.7305 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.5259, allocations: 59.67 kB / 0.7306 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.5265, allocations: 312 kB / 0.7309 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.5266, allocations: 32.94 kB / 0.7309 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.5266, allocations: 39.94 kB / 0.7309 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5278, allocations: 0.7708 MB / 0.7317 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5278, allocations: 0 / 0.7317 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.5278, allocations: 16 kB / 0.7317 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.5279, allocations: 12 kB / 0.7317 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009477/0.5288, allocations: 499.5 kB / 0.7322 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.5314, allocations: 1.481 MB / 0.7336 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.5322, allocations: 359.6 kB / 0.734 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.5325, allocations: 174.5 kB / 0.7341 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/0.533, allocations: 131.8 kB / 0.7343 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.5331, allocations: 38.56 kB / 0.7343 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.5331, allocations: 4 kB / 0.7343 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001196/0.5343, allocations: 497.1 kB / 0.7348 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.5343, allocations: 110.8 kB / 0.7349 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.5347, allocations: 292.6 kB / 0.7352 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.5347, allocations: 29.7 kB / 0.7352 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.5349, allocations: 232.2 kB / 0.7354 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.535, allocations: 115.2 kB / 0.7355 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.5351, allocations: 78.06 kB / 0.7356 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5353, allocations: 346.8 kB / 0.7359 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.5357, allocations: 200.1 kB / 0.7361 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.5361, allocations: 309.7 kB / 0.7364 GB, free: 340 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2693/0.8054, allocations: 479.9 kB / 0.7369 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.8054, allocations: 1 kB / 0.7369 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001391/0.8068, allocations: 0.5988 MB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.8069, allocations: 61.31 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.8069, allocations: 3.375 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.8069, allocations: 5.844 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.8074, allocations: 87.38 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.8074, allocations: 9.359 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.8078, allocations: 41.41 kB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.8078, allocations: 26.86 kB / 0.7377 GB, free: 174.7 MB / 0.5606 GB 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.0002637/0.8081, allocations: 186.9 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.8082, allocations: 34.81 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.8094, allocations: 478 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.8095, allocations: 4.156 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8095, allocations: 4.188 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8095, allocations: 10.64 kB / 0.7384 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.812, allocations: 1.201 MB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.812, allocations: 3.094 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.8123, allocations: 65.5 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.8123, allocations: 3.938 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.8123, allocations: 8.906 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.8124, allocations: 3.656 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.8124, allocations: 7.031 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.8131, allocations: 0.6306 MB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.8131, allocations: 36.77 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.8132, allocations: 14.88 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.8136, allocations: 21.33 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.8137, allocations: 32.88 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.8137, allocations: 19.47 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000246/0.814, allocations: 278.7 kB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.814, allocations: 0 / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001052/0.815, allocations: 371.5 kB / 0.741 GB, free: 173 MB / 0.5606 GB 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.001/0.816, allocations: 0.5047 MB / 0.7415 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007324/0.8168, allocations: 0.4975 MB / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8168, allocations: 3.094 kB / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.8171, allocations: 158.9 kB / 0.7421 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8182, allocations: 205.2 kB / 0.7423 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.8192, allocations: 0.7855 MB / 0.7431 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.8194, allocations: 243.2 kB / 0.7433 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.8197, allocations: 101.6 kB / 0.7434 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.8198, allocations: 43.05 kB / 0.7435 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.8198, allocations: 0 / 0.7435 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01761/0.8374, allocations: 14.18 MB / 0.7573 GB, free: 158.1 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/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.855240633012727]