Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001902/0.001902, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.002491/0.002491, allocations: 166.5 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 158.6 MB / 185 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 32.37 MB / 269.6 MB, free: 4.68 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 407.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.07e-05, allocations: 2.281 kB / 407.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.448/0.4481, allocations: 161.4 MB / 0.5554 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.4505, allocations: 0.8893 MB / 0.5563 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004673/0.451, allocations: 15.88 kB / 0.5563 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009174/0.4519, allocations: 206.5 kB / 0.5565 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009772/0.4529, allocations: 294.1 kB / 0.5568 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006776/0.4596, allocations: 2.22 MB / 0.559 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.4612, allocations: 0.9826 MB / 0.5599 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006801/0.4619, allocations: 277.8 kB / 0.5602 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.4667, allocations: 1.853 MB / 0.562 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.4673, allocations: 299.2 kB / 0.5623 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.4674, allocations: 48 kB / 0.5623 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.4725, allocations: 2.456 MB / 0.5647 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.4727, allocations: 207.4 kB / 0.5649 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.4731, allocations: 199.6 kB / 0.5651 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.4772, allocations: 2.314 MB / 0.5674 GB, free: 3.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4772, allocations: 4 kB / 0.5674 GB, free: 3.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4772, allocations: 1.406 kB / 0.5674 GB, free: 3.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4772, allocations: 0 / 0.5674 GB, free: 3.422 MB / 446.1 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.00224/0.4795, allocations: 1.009 MB / 0.5684 GB, free: 2.363 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4795, allocations: 8.031 kB / 0.5684 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.4798, allocations: 59.67 kB / 0.5684 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.4804, allocations: 323.9 kB / 0.5687 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.4805, allocations: 29 kB / 0.5688 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.4806, allocations: 36 kB / 0.5688 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4817, allocations: 0.7708 MB / 0.5696 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4817, allocations: 0 / 0.5696 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/0.4818, allocations: 15.94 kB / 0.5696 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.4818, allocations: 8 kB / 0.5696 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.4828, allocations: 0.4958 MB / 0.5701 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.4853, allocations: 1.468 MB / 0.5715 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.4861, allocations: 369.9 kB / 0.5718 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.4865, allocations: 166.5 kB / 0.572 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004717/0.487, allocations: 127.9 kB / 0.5721 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.487, allocations: 46.66 kB / 0.5722 GB, free: 14.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.487, allocations: 0 / 0.5722 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=30): time 0.0012/0.4882, allocations: 0.4966 MB / 0.5727 GB, free: 13.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.4883, allocations: 110.8 kB / 0.5728 GB, free: 13.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.4886, allocations: 284.6 kB / 0.573 GB, free: 13.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.4887, allocations: 33.7 kB / 0.5731 GB, free: 13.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.4888, allocations: 236.2 kB / 0.5733 GB, free: 13.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.4889, allocations: 107 kB / 0.5734 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.4891, allocations: 78.05 kB / 0.5735 GB, free: 12.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4893, allocations: 346.8 kB / 0.5738 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.4896, allocations: 212 kB / 0.574 GB, free: 12.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.4901, allocations: 313.4 kB / 0.5743 GB, free: 11.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.4909, allocations: 485.1 kB / 0.5748 GB, free: 11.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4909, allocations: 4 kB / 0.5748 GB, free: 11.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001118/0.4921, allocations: 0.5987 MB / 0.5754 GB, free: 10.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.4921, allocations: 59.41 kB / 0.5754 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4921, allocations: 10.25 kB / 0.5754 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4922, allocations: 4 kB / 0.5754 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.4926, allocations: 87.83 kB / 0.5755 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.4926, allocations: 11.98 kB / 0.5755 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.4929, allocations: 35.72 kB / 0.5756 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.4929, allocations: 23.98 kB / 0.5756 GB, free: 10.54 MB / 462.1 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.0002576/0.4932, allocations: 193.8 kB / 0.5758 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4933, allocations: 31.81 kB / 0.5758 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.4944, allocations: 481 kB / 0.5762 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4944, allocations: 4 kB / 0.5763 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4944, allocations: 4 kB / 0.5763 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.4945, allocations: 3.984 kB / 0.5763 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.497, allocations: 1.205 MB / 0.5774 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.497, allocations: 3.75 kB / 0.5774 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.4973, allocations: 64.08 kB / 0.5775 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.4973, allocations: 8 kB / 0.5775 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.4973, allocations: 8 kB / 0.5775 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.4973, allocations: 4 kB / 0.5775 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4973, allocations: 0 / 0.5775 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.4983, allocations: 0.6272 MB / 0.5781 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.4983, allocations: 47.64 kB / 0.5782 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.4984, allocations: 12 kB / 0.5782 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.4988, allocations: 23.97 kB / 0.5782 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.4989, allocations: 27.91 kB / 0.5782 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.4989, allocations: 19.98 kB / 0.5783 GB, free: 7.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003399/0.4993, allocations: 287 kB / 0.5785 GB, free: 7.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4993, allocations: 0 / 0.5785 GB, free: 7.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001232/0.5005, allocations: 394.7 kB / 0.5789 GB, free: 7.012 MB / 462.1 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.001562/0.5021, allocations: 0.614 MB / 0.5795 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009562/0.503, allocations: 0.506 MB / 0.58 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.503, allocations: 3.938 kB / 0.58 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.5034, allocations: 147.8 kB / 0.5801 GB, free: 5.711 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.5046, allocations: 220.2 kB / 0.5804 GB, free: 5.508 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.5061, allocations: 0.7526 MB / 0.5811 GB, free: 4.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.5064, allocations: 236.1 kB / 0.5813 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003513/0.5068, allocations: 91.3 kB / 0.5814 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.5069, allocations: 48.42 kB / 0.5815 GB, free: 4.316 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5069, allocations: 0 / 0.5815 GB, free: 4.316 MB / 462.1 MB Notification: Performance of Templates: time 0.02627/0.5332, allocations: 14.41 MB / 0.5955 GB, free: 5.957 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.069381229579449]