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.00185/0.00185, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002295/0.002295, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 8 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.2195/0.2195, allocations: 46.94 MB / 361.6 MB, free: 4.254 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.002202/0.002202, allocations: 63.91 kB / 0.4974 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 66.03 MB / 0.5619 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5914/0.9309, allocations: 185.6 MB / 0.7431 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.9328, allocations: 0.9007 MB / 0.744 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.9331, allocations: 14.2 kB / 0.744 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.9338, allocations: 211.2 kB / 0.7442 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.9344, allocations: 293.3 kB / 0.7445 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005083/0.9395, allocations: 1.965 MB / 0.7464 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.9408, allocations: 0.9959 MB / 0.7473 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.9412, allocations: 280.1 kB / 0.7476 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.9443, allocations: 1.592 MB / 0.7492 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.9449, allocations: 349 kB / 0.7495 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.945, allocations: 45.34 kB / 0.7495 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005346/0.9504, allocations: 2.9 MB / 0.7524 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.9507, allocations: 205.1 kB / 0.7526 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.9512, allocations: 265.8 kB / 0.7528 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.9553, allocations: 2.057 MB / 0.7548 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9553, allocations: 3 kB / 0.7548 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9553, allocations: 1.125 kB / 0.7548 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.9553, allocations: 0 / 0.7548 GB, free: 1.543 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.002826/0.9582, allocations: 1.014 MB / 0.7558 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.9582, allocations: 12.28 kB / 0.7558 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.9586, allocations: 58.94 kB / 0.7559 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.9592, allocations: 326.6 kB / 0.7562 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.9592, allocations: 25.25 kB / 0.7562 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.9593, allocations: 36.11 kB / 0.7563 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.9601, allocations: 0.517 MB / 0.7568 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.9601, allocations: 4.094 kB / 0.7568 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.9602, allocations: 16 kB / 0.7568 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.9602, allocations: 8 kB / 0.7568 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.961, allocations: 498.8 kB / 0.7573 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.9636, allocations: 1.941 MB / 0.7592 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.9642, allocations: 364.4 kB / 0.7595 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.9644, allocations: 171.6 kB / 0.7597 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/0.9648, allocations: 133.3 kB / 0.7598 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9649, allocations: 44.66 kB / 0.7599 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.9649, allocations: 0 / 0.7599 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.000975/0.9658, allocations: 0.4944 MB / 0.7603 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.9659, allocations: 104.9 kB / 0.7604 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.9663, allocations: 409.4 kB / 0.7608 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.9663, allocations: 31.83 kB / 0.7609 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.9665, allocations: 218.7 kB / 0.7611 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.9666, allocations: 109.5 kB / 0.7612 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.9667, allocations: 80.7 kB / 0.7612 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9669, allocations: 349.6 kB / 0.7616 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.9671, allocations: 151.4 kB / 0.7617 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.9674, allocations: 256.5 kB / 0.762 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.9681, allocations: 486.4 kB / 0.7624 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9681, allocations: 1 kB / 0.7624 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008534/0.9689, allocations: 0.5449 MB / 0.763 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.969, allocations: 62.94 kB / 0.763 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.969, allocations: 9.156 kB / 0.763 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.969, allocations: 5 kB / 0.763 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.9694, allocations: 84.25 kB / 0.7631 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.9694, allocations: 6.5 kB / 0.7631 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.9697, allocations: 60.39 kB / 0.7632 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.9698, allocations: 18.97 kB / 0.7632 GB, free: 13.93 MB / 0.5762 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.0002054/0.97, allocations: 190 kB / 0.7634 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.9701, allocations: 45.83 kB / 0.7634 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008892/0.971, allocations: 491.9 kB / 0.7639 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.971, allocations: 2.25 kB / 0.7639 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.971, allocations: 9.75 kB / 0.7639 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.971, allocations: 4.109 kB / 0.7639 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.9733, allocations: 1.362 MB / 0.7652 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9733, allocations: 3.297 kB / 0.7652 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.9735, allocations: 61.41 kB / 0.7653 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.9735, allocations: 5.109 kB / 0.7653 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.9736, allocations: 8.75 kB / 0.7653 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.9736, allocations: 6.688 kB / 0.7653 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9736, allocations: 2.812 kB / 0.7653 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.9744, allocations: 0.6467 MB / 0.766 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.9744, allocations: 49.86 kB / 0.766 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.9745, allocations: 14.22 kB / 0.766 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.9749, allocations: 24.22 kB / 0.766 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.975, allocations: 33.09 kB / 0.7661 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.975, allocations: 19.5 kB / 0.7661 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003351/0.9754, allocations: 363.5 kB / 0.7664 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9754, allocations: 0 / 0.7664 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001078/0.9764, allocations: 358.2 kB / 0.7668 GB, free: 12.62 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.001066/0.9775, allocations: 0.493 MB / 0.7673 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007465/0.9783, allocations: 450.5 kB / 0.7677 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9783, allocations: 4.609 kB / 0.7677 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.9785, allocations: 152 kB / 0.7678 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.9798, allocations: 283.4 kB / 0.7681 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.9811, allocations: 0.8594 MB / 0.769 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.9816, allocations: 0.8295 MB / 0.7698 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.9817, allocations: 52.17 kB / 0.7698 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of SimCode: time 4.5e-07/0.9817, allocations: 0 / 0.7698 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.01592/0.9976, allocations: 11.56 MB / 0.7811 GB, free: 9.809 MB / 0.5762 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/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: 10.458954646950588]