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.001495/0.001495, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001505/0.001505, allocations: 165.7 kB / 25.02 MB, free: 8.422 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.413/1.413, allocations: 158.6 MB / 186.8 MB, free: 2.891 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 1.923e-06/1.923e-06, allocations: 0 / 250.4 MB, free: 3.883 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.807e-05, allocations: 2.312 kB / 250.4 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05643/0.05646, allocations: 35.29 MB / 285.7 MB, free: 464 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.06005, allocations: 1.898 MB / 287.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.06036, allocations: 7.938 kB / 287.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.06107, allocations: 166.8 kB / 287.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.06195, allocations: 329.9 kB / 288.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.06282, allocations: 287.3 kB / 288.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.06408, allocations: 0.8442 MB / 289.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.06431, allocations: 76.86 kB / 289.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2243/0.2886, allocations: 43.98 MB / 333.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004944/0.2891, allocations: 245.7 kB / 333.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.2892, allocations: 32 kB / 333.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.2893, allocations: 34.38 kB / 333.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2894, allocations: 105.8 kB / 333.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2896, allocations: 129.1 kB / 333.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.2901, allocations: 461.2 kB / 334.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2901, allocations: 0 / 334.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2901, allocations: 0 / 334.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2901, allocations: 0 / 334.3 MB, free: 13.36 MB / 282.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.0008896/0.291, allocations: 0.5117 MB / 334.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.291, allocations: 15.98 kB / 334.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.2913, allocations: 84.45 kB / 334.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.2917, allocations: 222.5 kB / 335.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2918, allocations: 20.94 kB / 335.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.2918, allocations: 26.06 kB / 335.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.2923, allocations: 457.4 kB / 335.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.2923, allocations: 8.359 kB / 335.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2924, allocations: 15.94 kB / 335.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2924, allocations: 8 kB / 335.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.2926, allocations: 189.9 kB / 335.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.294, allocations: 1.128 MB / 336.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.2942, allocations: 169.8 kB / 337.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2943, allocations: 82.73 kB / 337.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.2944, allocations: 11.94 kB / 337.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.2944, allocations: 37.75 kB / 337.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.2944, allocations: 0 / 337.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.002255/0.2966, allocations: 0.8595 MB / 338.1 MB, free: 9.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.2967, allocations: 55.41 kB / 338.1 MB, free: 9.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2968, allocations: 230.9 kB / 338.4 MB, free: 9.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2969, allocations: 33.7 kB / 338.4 MB, free: 9.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.2969, allocations: 188.4 kB / 338.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.297, allocations: 95 kB / 338.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.2971, allocations: 68.84 kB / 338.7 MB, free: 9.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.2971, allocations: 340.1 kB / 339.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2973, allocations: 87.97 kB / 339.2 MB, free: 8.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2974, allocations: 178.9 kB / 339.3 MB, free: 8.395 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.2977, allocations: 282.8 kB / 339.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2977, allocations: 0 / 339.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005917/0.2983, allocations: 396.7 kB / 340 MB, free: 7.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2983, allocations: 12.05 kB / 340 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2983, allocations: 4 kB / 340 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.2986, allocations: 64.44 kB / 340.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.2989, allocations: 71.16 kB / 340.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.3005, allocations: 2.627 MB / 342.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3007, allocations: 8 kB / 342.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.3007, allocations: 18.28 kB / 342.8 MB, free: 4.742 MB / 282.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.0001282/0.3008, allocations: 149.6 kB / 342.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.3009, allocations: 39.8 kB / 343 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.301, allocations: 33.95 kB / 343 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.301, allocations: 4 kB / 343 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.301, allocations: 0 / 343 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004676/0.3014, allocations: 0.5587 MB / 343.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.3022, allocations: 0.5943 MB / 344.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3022, allocations: 6.969 kB / 344.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3024, allocations: 47.08 kB / 344.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.3027, allocations: 56.72 kB / 344.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3027, allocations: 9.531 kB / 344.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007867/0.3035, allocations: 1.36 MB / 345.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3035, allocations: 4.031 kB / 345.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.3041, allocations: 477.5 kB / 346.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.3041, allocations: 23.84 kB / 346.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.3041, allocations: 8 kB / 346.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3043, allocations: 11.92 kB / 346.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3044, allocations: 20.09 kB / 346.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3044, allocations: 8 kB / 346.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3045, allocations: 164.7 kB / 346.4 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3045, allocations: 0 / 346.4 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003938/0.3049, allocations: 88 kB / 346.4 MB, free: 0.8828 MB / 282.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.000113/0.305, allocations: 102.7 kB / 346.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.3056, allocations: 468.5 kB / 347 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3056, allocations: 0 / 347 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.3059, allocations: 221.8 kB / 347.2 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.3067, allocations: 144 kB / 347.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.308, allocations: 0.6034 MB / 348 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3082, allocations: 167.4 kB / 348.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.3085, allocations: 50.55 kB / 348.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.3085, allocations: 24.5 kB / 348.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3085, allocations: 0 / 348.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.0114/0.3199, allocations: 5.166 MB / 353.4 MB, free: 10 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] 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: 4.82266913796775]