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.001903/0.001903, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002272/0.002272, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.542/1.542, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.2252/0.2252, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] 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.914e-06/1.914e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.738e-05, allocations: 6.25 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3726/0.3726, allocations: 161.4 MB / 0.4964 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3751, allocations: 0.8848 MB / 0.4973 GB, free: 12.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.3753, allocations: 15.72 kB / 0.4973 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.3761, allocations: 202.6 kB / 0.4975 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000761/0.3769, allocations: 307.2 kB / 0.4978 GB, free: 12.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007046/0.3839, allocations: 2.211 MB / 0.4999 GB, free: 10.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.3857, allocations: 0.9796 MB / 0.5009 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.3863, allocations: 293.5 kB / 0.5012 GB, free: 9.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00524/0.3916, allocations: 1.853 MB / 0.503 GB, free: 7.934 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.3922, allocations: 299.2 kB / 0.5033 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3924, allocations: 48 kB / 0.5033 GB, free: 7.594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0053/0.3977, allocations: 2.46 MB / 0.5057 GB, free: 5.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.398, allocations: 203.4 kB / 0.5059 GB, free: 4.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.3983, allocations: 203.6 kB / 0.5061 GB, free: 4.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004234/0.4026, allocations: 2.318 MB / 0.5084 GB, free: 2.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4026, allocations: 0 / 0.5084 GB, free: 2.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4026, allocations: 0 / 0.5084 GB, free: 2.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.4026, allocations: 4 kB / 0.5084 GB, free: 2.402 MB / 378.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.002226/0.4048, allocations: 1.009 MB / 0.5094 GB, free: 1.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4048, allocations: 8.031 kB / 0.5094 GB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.4052, allocations: 99.53 kB / 0.5095 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.4061, allocations: 328.4 kB / 0.5098 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.4062, allocations: 29 kB / 0.5098 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.4063, allocations: 40 kB / 0.5099 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.4075, allocations: 0.7784 MB / 0.5106 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4075, allocations: 4 kB / 0.5106 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.4076, allocations: 19.94 kB / 0.5106 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4076, allocations: 12 kB / 0.5106 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.4087, allocations: 495.3 kB / 0.5111 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.4116, allocations: 1.481 MB / 0.5126 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/0.4124, allocations: 367.5 kB / 0.5129 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.4128, allocations: 162.5 kB / 0.5131 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/0.4133, allocations: 135.9 kB / 0.5132 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.4133, allocations: 38.56 kB / 0.5132 GB, free: 13.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.4133, allocations: 0 / 0.5132 GB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.001342/0.4147, allocations: 0.5051 MB / 0.5137 GB, free: 12.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.4148, allocations: 110.8 kB / 0.5138 GB, free: 12.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.4151, allocations: 288.6 kB / 0.5141 GB, free: 12.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.4152, allocations: 33.7 kB / 0.5141 GB, free: 12.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.4154, allocations: 232.2 kB / 0.5144 GB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4155, allocations: 111.2 kB / 0.5145 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.4157, allocations: 78.06 kB / 0.5145 GB, free: 11.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.4159, allocations: 342.8 kB / 0.5149 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.4163, allocations: 208 kB / 0.5151 GB, free: 11.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.4168, allocations: 305.4 kB / 0.5154 GB, free: 10.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.4177, allocations: 491 kB / 0.5158 GB, free: 10.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.4178, allocations: 7.984 kB / 0.5158 GB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001247/0.419, allocations: 0.6052 MB / 0.5164 GB, free: 9.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.4192, allocations: 67.39 kB / 0.5165 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4192, allocations: 7.938 kB / 0.5165 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.4193, allocations: 8.359 kB / 0.5165 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.4197, allocations: 87.83 kB / 0.5166 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4197, allocations: 5.625 kB / 0.5166 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.42, allocations: 43.77 kB / 0.5166 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.4201, allocations: 23.98 kB / 0.5167 GB, free: 9.434 MB / 394.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.0002729/0.4204, allocations: 173.7 kB / 0.5168 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.4205, allocations: 55.69 kB / 0.5169 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.4217, allocations: 493 kB / 0.5173 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4218, allocations: 4 kB / 0.5174 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4218, allocations: 0 / 0.5174 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4218, allocations: 0 / 0.5174 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.4245, allocations: 1.212 MB / 0.5185 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4245, allocations: 8.031 kB / 0.5185 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.4249, allocations: 55.91 kB / 0.5186 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.4249, allocations: 7.984 kB / 0.5186 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.4249, allocations: 11.98 kB / 0.5186 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.4249, allocations: 4 kB / 0.5186 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4249, allocations: 4 kB / 0.5186 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.4259, allocations: 0.6398 MB / 0.5192 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.426, allocations: 35.73 kB / 0.5193 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.4261, allocations: 12 kB / 0.5193 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.4265, allocations: 15.98 kB / 0.5193 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.4266, allocations: 31.89 kB / 0.5193 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.4267, allocations: 19.98 kB / 0.5194 GB, free: 6.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003797/0.4271, allocations: 279 kB / 0.5196 GB, free: 6.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4271, allocations: 3.938 kB / 0.5196 GB, free: 6.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001284/0.4284, allocations: 398.8 kB / 0.52 GB, free: 5.898 MB / 394.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.001611/0.43, allocations: 0.6195 MB / 0.5206 GB, free: 5.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.431, allocations: 0.4939 MB / 0.5211 GB, free: 4.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.431, allocations: 3.938 kB / 0.5211 GB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.4314, allocations: 160.8 kB / 0.5213 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.4328, allocations: 217.6 kB / 0.5215 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.4343, allocations: 0.769 MB / 0.5222 GB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.4347, allocations: 232.1 kB / 0.5224 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004083/0.4351, allocations: 102 kB / 0.5225 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.4352, allocations: 44.48 kB / 0.5226 GB, free: 3.191 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4352, allocations: 0 / 0.5226 GB, free: 3.191 MB / 394.7 MB Notification: Performance of Templates: time 0.02906/0.4643, allocations: 14.48 MB / 0.5367 GB, free: 4.777 MB / 410.7 MB " [Timeout remaining time 660] 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: 5.780485676950775]