Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.001366/0.001366, allocations: 84.88 kB / 22 MB, free: 4.754 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.001437/0.001437, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.325/1.325, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 179] 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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") [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.001813/0.001813, allocations: 55.92 kB / 299.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2135, allocations: 49.14 MB / 348.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01492/0.2284, allocations: 11.89 MB / 360.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2311, allocations: 1.62 MB / 362.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.2312, allocations: 4 kB / 362.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.2318, allocations: 162.9 kB / 362.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007199/0.2325, allocations: 322.2 kB / 362.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.2337, allocations: 411.1 kB / 362.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2347, allocations: 0.8368 MB / 363.8 MB, free: 236 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2349, allocations: 64.91 kB / 363.8 MB, free: 164 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.2356, allocations: 410.6 kB / 364.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.236, allocations: 266.8 kB / 364.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.236, allocations: 28 kB / 364.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.2363, allocations: 87.86 kB / 364.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2364, allocations: 99.66 kB / 364.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.2366, allocations: 155.4 kB / 364.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.2372, allocations: 484.5 kB / 365.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2372, allocations: 4 kB / 365.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2372, allocations: 0 / 365.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.2372, allocations: 0 / 365.3 MB, free: 14.66 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.000921/0.2381, allocations: 0.513 MB / 365.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2382, allocations: 11.98 kB / 365.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.2385, allocations: 40.75 kB / 365.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.2389, allocations: 230 kB / 366.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.239, allocations: 16.88 kB / 366.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.239, allocations: 24.38 kB / 366.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006925/0.2397, allocations: 0.5431 MB / 366.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2397, allocations: 3.938 kB / 366.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.2397, allocations: 12 kB / 366.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2398, allocations: 8 kB / 366.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.2401, allocations: 189.8 kB / 366.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.242, allocations: 1.332 MB / 368.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.2423, allocations: 130.5 kB / 368.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2424, allocations: 56.84 kB / 368.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.062e-05/0.2425, allocations: 19.98 kB / 368.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2425, allocations: 30.56 kB / 368.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.2425, allocations: 0 / 368.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001829/0.2444, allocations: 0.6508 MB / 369.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.2444, allocations: 59.41 kB / 369.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.2447, allocations: 253.8 kB / 369.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.2447, allocations: 33.7 kB / 369.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2449, allocations: 204.3 kB / 369.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.2449, allocations: 79.27 kB / 369.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.245, allocations: 65.7 kB / 369.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2452, allocations: 338.8 kB / 370.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2453, allocations: 67.97 kB / 370.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2456, allocations: 191.1 kB / 370.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.246, allocations: 287.2 kB / 370.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.246, allocations: 0 / 370.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005566/0.2465, allocations: 330.2 kB / 371 MB, free: 8.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2465, allocations: 8.094 kB / 371 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.2465, allocations: 8 kB / 371 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.839e-05/0.2466, allocations: 20.86 kB / 371 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.247, allocations: 83.83 kB / 371.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.2482, allocations: 1.264 MB / 372.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2484, allocations: 12 kB / 372.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.2485, allocations: 24.16 kB / 372.4 MB, free: 7.051 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.2487, allocations: 153.7 kB / 372.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.2487, allocations: 23.86 kB / 372.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.2491, allocations: 213 kB / 372.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2491, allocations: 4 kB / 372.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2491, allocations: 0 / 372.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004743/0.2496, allocations: 487.7 kB / 373.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2507, allocations: 0.6183 MB / 373.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2507, allocations: 4 kB / 373.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2509, allocations: 43.91 kB / 373.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.2509, allocations: 7.938 kB / 374 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2509, allocations: 8 kB / 374 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.2509, allocations: 4 kB / 374 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2509, allocations: 4 kB / 374 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.2515, allocations: 391.2 kB / 374.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.2515, allocations: 27.88 kB / 374.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.2515, allocations: 12 kB / 374.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2517, allocations: 7.938 kB / 374.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.2518, allocations: 27.94 kB / 374.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.2518, allocations: 11.98 kB / 374.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.252, allocations: 177.2 kB / 374.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.252, allocations: 0 / 374.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004601/0.2525, allocations: 95.88 kB / 374.7 MB, free: 4.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * 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.0002366/0.2527, allocations: 147.1 kB / 374.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.2532, allocations: 299 kB / 375.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2533, allocations: 256 / 375.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.2534, allocations: 71.86 kB / 375.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.2542, allocations: 118.1 kB / 375.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2553, allocations: 0.6261 MB / 376 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2554, allocations: 151.2 kB / 376.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.2556, allocations: 46.97 kB / 376.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.2557, allocations: 36.48 kB / 376.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2557, allocations: 0 / 376.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of Templates: time 0.01032/0.266, allocations: 4.736 MB / 380.9 MB, free: 14.22 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.387669367948547]