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.001907/0.001907, allocations: 85.75 kB / 21.43 MB, free: 296 kB / 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.002187/0.002187, allocations: 164.3 kB / 24.7 MB, free: 3.547 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.461/1.461, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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.864e-06/1.864e-06, allocations: 0 / 299 MB, free: 8.672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.931e-05, allocations: 2.281 kB / 299 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2236/0.2236, allocations: 35.28 MB / 334.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.2272, allocations: 1.896 MB / 336.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.2278, allocations: 7.406 kB / 336.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.2285, allocations: 163.3 kB / 336.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008939/0.2294, allocations: 339.2 kB / 336.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.2302, allocations: 290.5 kB / 337 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009574/0.2312, allocations: 0.8455 MB / 337.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.2314, allocations: 68.66 kB / 337.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1121/0.3435, allocations: 43.99 MB / 381.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007887/0.3443, allocations: 251.8 kB / 382.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.3445, allocations: 35.94 kB / 382.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.3448, allocations: 36 kB / 382.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.345, allocations: 91.7 kB / 382.3 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.3454, allocations: 139.7 kB / 382.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007965/0.3462, allocations: 451.6 kB / 382.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.3462, allocations: 3.984 kB / 382.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3462, allocations: 3.188 kB / 382.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.3462, allocations: 0 / 382.9 MB, free: 9.277 MB / 334.1 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.001184/0.3474, allocations: 0.5131 MB / 383.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3474, allocations: 11.98 kB / 383.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.3477, allocations: 45.61 kB / 383.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.3482, allocations: 223.5 kB / 383.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3483, allocations: 24.81 kB / 383.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.3483, allocations: 34.58 kB / 383.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.349, allocations: 456.5 kB / 384.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.349, allocations: 384 / 384.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.349, allocations: 15.94 kB / 384.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.349, allocations: 8 kB / 384.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.3494, allocations: 195.2 kB / 384.4 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.351, allocations: 1.113 MB / 385.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.3514, allocations: 166.7 kB / 385.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3515, allocations: 84.3 kB / 385.7 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.3516, allocations: 7.938 kB / 385.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3516, allocations: 34.56 kB / 385.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.472e-06/0.3516, allocations: 0 / 385.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002701/0.3543, allocations: 0.8524 MB / 386.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3544, allocations: 51.41 kB / 386.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.3546, allocations: 238.9 kB / 386.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3547, allocations: 29.7 kB / 386.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.3548, allocations: 192.4 kB / 387.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.3549, allocations: 98.12 kB / 387.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.355, allocations: 61.66 kB / 387.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3552, allocations: 334.8 kB / 387.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3554, allocations: 83.97 kB / 387.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.3556, allocations: 182.9 kB / 387.9 MB, free: 4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.3561, allocations: 287 kB / 388.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3561, allocations: 3.938 kB / 388.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007609/0.3568, allocations: 378.8 kB / 388.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3568, allocations: 8 kB / 388.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.3569, allocations: 0 / 388.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/0.3571, allocations: 62.75 kB / 388.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.3575, allocations: 67.91 kB / 388.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.3601, allocations: 2.627 MB / 391.3 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3604, allocations: 12.25 kB / 391.3 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.3604, allocations: 16 kB / 391.3 MB, free: 304 kB / 334.1 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.0001859/0.3606, allocations: 153.7 kB / 391.4 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.3607, allocations: 31.78 kB / 391.5 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.3607, allocations: 33.97 kB / 391.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.3608, allocations: 0 / 391.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3608, allocations: 4 kB / 391.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000709/0.3615, allocations: 0.5629 MB / 392.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3626, allocations: 0.6009 MB / 392.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3626, allocations: 0 / 392.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.3628, allocations: 43.91 kB / 392.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.363, allocations: 52.73 kB / 392.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.363, allocations: 8 kB / 392.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.3643, allocations: 1.354 MB / 394.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3643, allocations: 0 / 394.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.3651, allocations: 472.7 kB / 394.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3652, allocations: 27.88 kB / 394.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.3652, allocations: 4 kB / 394.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.3654, allocations: 18.78 kB / 394.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3655, allocations: 15.91 kB / 394.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.3655, allocations: 15.98 kB / 394.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.3657, allocations: 164.5 kB / 394.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3657, allocations: 0 / 394.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.3661, allocations: 88 kB / 394.9 MB, free: 12.41 MB / 350.1 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.0001592/0.3663, allocations: 99.19 kB / 395 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008825/0.3671, allocations: 453.4 kB / 395.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3671, allocations: 0 / 395.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.3676, allocations: 231.1 kB / 395.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/0.3685, allocations: 144.8 kB / 395.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3698, allocations: 0.6177 MB / 396.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.37, allocations: 155 kB / 396.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.3702, allocations: 47.22 kB / 396.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.3703, allocations: 32.42 kB / 396.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3703, allocations: 8 kB / 396.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01159/0.3819, allocations: 5.129 MB / 401.8 MB, free: 5.441 MB / 350.1 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.847688477486372]