Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.001442/0.001442, allocations: 97.72 kB / 21.92 MB, free: 5.207 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.001522/0.001522, allocations: 202.7 kB / 25.22 MB, free: 3.141 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: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.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.LinearColdWater,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.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 55.92 kB / 348.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2977, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01543/0.3131, allocations: 14.58 MB / 412.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.3162, allocations: 1.793 MB / 414 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.3164, allocations: 3.438 kB / 414 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.3171, allocations: 165.3 kB / 414.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007516/0.3178, allocations: 315.5 kB / 414.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.3186, allocations: 283.6 kB / 414.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.3197, allocations: 0.8571 MB / 415.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.3199, allocations: 73.52 kB / 415.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.3213, allocations: 0.5269 MB / 416.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.3218, allocations: 270.3 kB / 416.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.3218, allocations: 28.81 kB / 416.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.322, allocations: 40.44 kB / 416.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3221, allocations: 94.61 kB / 416.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.3223, allocations: 164.8 kB / 416.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.3229, allocations: 441.8 kB / 417.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3229, allocations: 0 / 417.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3229, allocations: 1.344 kB / 417.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3229, allocations: 0 / 417.2 MB, free: 12.23 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.001004/0.3239, allocations: 0.5103 MB / 417.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.324, allocations: 13.86 kB / 417.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.3242, allocations: 48.83 kB / 417.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.3248, allocations: 213.5 kB / 418 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3248, allocations: 22.38 kB / 418 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.3248, allocations: 28.88 kB / 418.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.3255, allocations: 457.8 kB / 418.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3255, allocations: 8.781 kB / 418.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3255, allocations: 11.22 kB / 418.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.3255, allocations: 7.125 kB / 418.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.3259, allocations: 193.2 kB / 418.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.3276, allocations: 1.131 MB / 419.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.328, allocations: 164.9 kB / 420 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.3281, allocations: 89.64 kB / 420.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3281, allocations: 2.781 kB / 420.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3282, allocations: 41.16 kB / 420.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.3282, allocations: 0 / 420.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00252/0.3307, allocations: 0.8433 MB / 421 MB, free: 9.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3307, allocations: 58.62 kB / 421.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.331, allocations: 237.1 kB / 421.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.3311, allocations: 31.8 kB / 421.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3312, allocations: 183.1 kB / 421.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.3313, allocations: 98.3 kB / 421.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3314, allocations: 69.61 kB / 421.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3315, allocations: 333.2 kB / 422 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3317, allocations: 87.64 kB / 422.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.332, allocations: 176.4 kB / 422.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.3324, allocations: 290.8 kB / 422.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3324, allocations: 1.344 kB / 422.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000708/0.3331, allocations: 379.6 kB / 422.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3331, allocations: 6.75 kB / 422.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3331, allocations: 3.188 kB / 422.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.3334, allocations: 60.48 kB / 423 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.3337, allocations: 68.78 kB / 423 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.3362, allocations: 2.623 MB / 425.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3364, allocations: 11.97 kB / 425.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3365, allocations: 15.41 kB / 425.7 MB, free: 5.094 MB / 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.0002012/0.3367, allocations: 166.5 kB / 425.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.3367, allocations: 23.61 kB / 425.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.3368, allocations: 35.52 kB / 425.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3368, allocations: 1.906 kB / 425.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3368, allocations: 1.812 kB / 425.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006767/0.3375, allocations: 0.5625 MB / 426.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3385, allocations: 0.5981 MB / 427.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3385, allocations: 0 / 427.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.3387, allocations: 46.38 kB / 427.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.339, allocations: 60.97 kB / 427.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.339, allocations: 6.469 kB / 427.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.3403, allocations: 1.359 MB / 428.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3403, allocations: 3.938 kB / 428.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.3411, allocations: 464.9 kB / 429 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.3411, allocations: 23.45 kB / 429 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.3411, allocations: 6.344 kB / 429 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.3413, allocations: 13.14 kB / 429 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3414, allocations: 19.06 kB / 429.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3414, allocations: 10.31 kB / 429.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3416, allocations: 165.2 kB / 429.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3416, allocations: 1.531 kB / 429.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000435/0.342, allocations: 88.38 kB / 429.3 MB, free: 1.984 MB / 334.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.0001394/0.3421, allocations: 101.3 kB / 429.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.343, allocations: 471.8 kB / 429.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.343, allocations: 0 / 429.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.3434, allocations: 226.7 kB / 430.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.3442, allocations: 130.7 kB / 430.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3455, allocations: 0.7279 MB / 431 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.3457, allocations: 153 kB / 431.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.3458, allocations: 29.22 kB / 431.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3458, allocations: 1.188 kB / 431.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of Templates: time 0.009329/0.3551, allocations: 5.814 MB / 436.9 MB, free: 10.87 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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: 7.970517416018993]