Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.002753/0.002753, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.003195/0.003195, allocations: 157.8 kB / 25.03 MB, free: 8.93 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.632/1.632, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.672e-05, allocations: 2.312 kB / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06282/0.06286, allocations: 39.46 MB / 289.9 MB, free: 180 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.06661, allocations: 2.089 MB / 292 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.06683, allocations: 7.938 kB / 292 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.06757, allocations: 162.9 kB / 292.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007586/0.06833, allocations: 329.9 kB / 292.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.06936, allocations: 295.3 kB / 292.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.0705, allocations: 0.8403 MB / 293.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.07073, allocations: 76.81 kB / 293.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1397/0.2104, allocations: 43.98 MB / 337.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.2115, allocations: 259.2 kB / 337.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.2117, allocations: 28 kB / 337.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.2118, allocations: 43.94 kB / 338 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.212, allocations: 95.64 kB / 338 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2123, allocations: 143.7 kB / 338.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008255/0.2131, allocations: 446.7 kB / 338.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2131, allocations: 3.984 kB / 338.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2131, allocations: 0 / 338.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2131, allocations: 0 / 338.6 MB, free: 14.96 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001281/0.2144, allocations: 0.636 MB / 339.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.2144, allocations: 15.98 kB / 339.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.2149, allocations: 80.48 kB / 339.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008111/0.2157, allocations: 232.1 kB / 339.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.2157, allocations: 20.88 kB / 339.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.2158, allocations: 24.38 kB / 339.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.2166, allocations: 485.6 kB / 340.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2166, allocations: 192 / 340.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.2166, allocations: 19.88 kB / 340.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2167, allocations: 8 kB / 340.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.2171, allocations: 185.8 kB / 340.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.2195, allocations: 1.512 MB / 341.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.2199, allocations: 178 kB / 342 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2201, allocations: 87.97 kB / 342.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.2202, allocations: 11.94 kB / 342.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.2202, allocations: 37.39 kB / 342.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.2202, allocations: 0 / 342.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.002889/0.2231, allocations: 0.8636 MB / 343 MB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.2232, allocations: 55.41 kB / 343 MB, free: 10.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.2237, allocations: 313.5 kB / 343.4 MB, free: 9.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.2238, allocations: 33.69 kB / 343.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.2241, allocations: 243.1 kB / 343.6 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.2243, allocations: 103.2 kB / 343.7 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.2245, allocations: 79.31 kB / 343.8 MB, free: 9.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00036/0.2248, allocations: 0.5196 MB / 344.3 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.225, allocations: 83.97 kB / 344.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.2253, allocations: 223.6 kB / 344.6 MB, free: 8.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.2258, allocations: 331.7 kB / 344.9 MB, free: 8.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2259, allocations: 4 kB / 345 MB, free: 8.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008262/0.2267, allocations: 400.7 kB / 345.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2267, allocations: 4 kB / 345.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.2267, allocations: 4 kB / 345.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/0.2271, allocations: 67.33 kB / 345.4 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.2274, allocations: 71.84 kB / 345.5 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.2315, allocations: 3.69 MB / 349.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.2318, allocations: 8 kB / 349.2 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2318, allocations: 16 kB / 349.2 MB, free: 3.676 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002731/0.2321, allocations: 200.5 kB / 349.4 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.2321, allocations: 35.8 kB / 349.4 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.719e-05/0.2322, allocations: 33.95 kB / 349.5 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2323, allocations: 4 kB / 349.5 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.2323, allocations: 0 / 349.5 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009611/0.2332, allocations: 0.5502 MB / 350 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.2347, allocations: 0.7035 MB / 350.7 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2347, allocations: 0 / 350.7 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2349, allocations: 43.92 kB / 350.8 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.2352, allocations: 59.55 kB / 350.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.2352, allocations: 8 kB / 350.8 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2138/0.449, allocations: 1.886 MB / 352.7 MB, free: 112.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4491, allocations: 0 / 352.7 MB, free: 112.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.4507, allocations: 0.5247 MB / 353.2 MB, free: 112.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4508, allocations: 21.05 kB / 353.3 MB, free: 112.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.4509, allocations: 9.109 kB / 353.3 MB, free: 112.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.4511, allocations: 6.125 kB / 353.3 MB, free: 112.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.4512, allocations: 19.38 kB / 353.3 MB, free: 112.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.4512, allocations: 18.06 kB / 353.3 MB, free: 112.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003481/0.4516, allocations: 205.8 kB / 353.5 MB, free: 112.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4516, allocations: 0.5 kB / 353.5 MB, free: 112.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007504/0.4523, allocations: 87.19 kB / 353.6 MB, free: 112.1 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002208/0.4526, allocations: 102 kB / 353.7 MB, free: 112 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4537, allocations: 0.5928 MB / 354.3 MB, free: 111.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4537, allocations: 1.156 kB / 354.3 MB, free: 111.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.4542, allocations: 304.7 kB / 354.6 MB, free: 111.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.4551, allocations: 131.3 kB / 354.7 MB, free: 111.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.4565, allocations: 0.6312 MB / 355.4 MB, free: 111.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.4566, allocations: 158.2 kB / 355.5 MB, free: 111.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.4569, allocations: 48.16 kB / 355.6 MB, free: 111.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.4569, allocations: 25.94 kB / 355.6 MB, free: 111.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4569, allocations: 2.406 kB / 355.6 MB, free: 111.1 MB / 330.7 MB Notification: Performance of Templates: time 0.01115/0.4681, allocations: 5.176 MB / 360.8 MB, free: 107 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.502156057977118]