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.001701/0.001701, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001937/0.001937, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.549/1.549, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2408/0.2408, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.002135/0.002135, allocations: 71.89 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1364, allocations: 65.99 MB / 0.5558 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4972/0.6337, allocations: 185.3 MB / 0.7368 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.6358, allocations: 0.893 MB / 0.7377 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.636, allocations: 11.88 kB / 0.7377 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007171/0.6367, allocations: 214.7 kB / 0.7379 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005927/0.6373, allocations: 294.2 kB / 0.7382 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005432/0.6428, allocations: 1.927 MB / 0.74 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.644, allocations: 0.9789 MB / 0.741 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.6445, allocations: 289.6 kB / 0.7413 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.6479, allocations: 1.593 MB / 0.7428 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.6484, allocations: 338.8 kB / 0.7431 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.6485, allocations: 44 kB / 0.7432 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005092/0.6536, allocations: 2.862 MB / 0.746 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.6538, allocations: 199.5 kB / 0.7462 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.6542, allocations: 270.9 kB / 0.7464 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.6574, allocations: 2.066 MB / 0.7485 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6574, allocations: 0 / 0.7485 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6574, allocations: 0 / 0.7485 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.6574, allocations: 0 / 0.7485 GB, free: 11.77 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.002039/0.6595, allocations: 1.077 MB / 0.7495 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6595, allocations: 12.03 kB / 0.7495 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.6598, allocations: 59.66 kB / 0.7496 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.6604, allocations: 382.2 kB / 0.7499 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.6604, allocations: 25 kB / 0.75 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.6605, allocations: 43.94 kB / 0.75 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.6615, allocations: 0.5159 MB / 0.7505 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6615, allocations: 3.312 kB / 0.7505 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.6616, allocations: 16 kB / 0.7505 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6616, allocations: 12 kB / 0.7505 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.6626, allocations: 499.5 kB / 0.751 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.6657, allocations: 1.975 MB / 0.7529 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.6666, allocations: 448.7 kB / 0.7534 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.667, allocations: 162.5 kB / 0.7535 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.6681, allocations: 0.9572 MB / 0.7545 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.6681, allocations: 38.55 kB / 0.7545 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.6681, allocations: 4 kB / 0.7545 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001282/0.6694, allocations: 496.6 kB / 0.755 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.6695, allocations: 110.8 kB / 0.7551 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.67, allocations: 405.5 kB / 0.7555 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.67, allocations: 33.7 kB / 0.7555 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.6702, allocations: 224.5 kB / 0.7557 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6703, allocations: 103.1 kB / 0.7558 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.6705, allocations: 85.95 kB / 0.7559 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.6707, allocations: 354.8 kB / 0.7562 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.671, allocations: 144.7 kB / 0.7564 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.6715, allocations: 258.9 kB / 0.7566 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.6723, allocations: 487.9 kB / 0.7571 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.6723, allocations: 3.688 kB / 0.7571 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001116/0.6734, allocations: 0.547 MB / 0.7576 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.706e-05/0.6735, allocations: 63.39 kB / 0.7577 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6735, allocations: 7.938 kB / 0.7577 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.6735, allocations: 4 kB / 0.7577 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.6739, allocations: 84.27 kB / 0.7578 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.674, allocations: 8 kB / 0.7578 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.6743, allocations: 55.61 kB / 0.7578 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.6744, allocations: 19.98 kB / 0.7578 GB, free: 1.414 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.000255/0.6746, allocations: 191.8 kB / 0.758 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6748, allocations: 47.75 kB / 0.7581 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.676, allocations: 483 kB / 0.7585 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.676, allocations: 7.938 kB / 0.7585 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.676, allocations: 0 / 0.7585 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.676, allocations: 3.984 kB / 0.7586 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.6795, allocations: 2.435 MB / 0.7609 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6795, allocations: 0 / 0.7609 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.6798, allocations: 68.09 kB / 0.761 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.6798, allocations: 7.938 kB / 0.761 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.6798, allocations: 8 kB / 0.761 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6798, allocations: 4 kB / 0.761 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6798, allocations: 0 / 0.761 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009167/0.6808, allocations: 0.6369 MB / 0.7616 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.6809, allocations: 132.7 kB / 0.7618 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.681, allocations: 15.94 kB / 0.7618 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.6814, allocations: 23.98 kB / 0.7618 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.6815, allocations: 23.91 kB / 0.7618 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.6815, allocations: 24.61 kB / 0.7618 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004504/0.682, allocations: 359.1 kB / 0.7622 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.682, allocations: 0 / 0.7622 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001233/0.6832, allocations: 359 kB / 0.7625 GB, free: 12.21 MB / 0.5762 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.001294/0.6845, allocations: 0.4902 MB / 0.763 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009404/0.6855, allocations: 466.9 kB / 0.7635 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6855, allocations: 0 / 0.7635 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.6858, allocations: 160.3 kB / 0.7636 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.6873, allocations: 290 kB / 0.7639 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.6888, allocations: 0.8066 MB / 0.7647 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.6893, allocations: 0.8429 MB / 0.7655 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003836/0.6897, allocations: 118.3 kB / 0.7656 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.6898, allocations: 47.42 kB / 0.7657 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.6898, allocations: 0 / 0.7657 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of Templates: time 0.02574/0.7156, allocations: 15.16 MB / 0.7805 GB, free: 9.887 MB / 0.5919 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 -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/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: 6.353801496326923]