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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 110.6 kB / 18.4 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 186.2 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 329.3 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07241/0.07371, allocations: 46.62 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.16/0.2337, allocations: 12.85 MB / 388.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.2357, allocations: 1.711 MB / 390.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.2359, allocations: 3.812 kB / 390.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.2364, allocations: 172 kB / 390.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.2369, allocations: 311.2 kB / 390.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.2378, allocations: 405.7 kB / 391.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007439/0.2386, allocations: 0.8315 MB / 392.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2388, allocations: 97.72 kB / 392.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.2393, allocations: 398.1 kB / 392.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.2396, allocations: 257.2 kB / 392.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.2397, allocations: 29.03 kB / 392.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.24, allocations: 99.95 kB / 393 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.2401, allocations: 96.11 kB / 393.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.2403, allocations: 193 kB / 393.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.2408, allocations: 470.3 kB / 393.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2408, allocations: 0 / 393.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2408, allocations: 1.281 kB / 393.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2408, allocations: 0 / 393.7 MB, free: 3.59 MB / 318.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.0006565/0.2415, allocations: 0.5716 MB / 394.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2415, allocations: 9.562 kB / 394.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.2418, allocations: 46.75 kB / 394.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.2421, allocations: 297.9 kB / 394.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2422, allocations: 19.31 kB / 394.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.2422, allocations: 27.91 kB / 394.7 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.2427, allocations: 323.8 kB / 395 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2427, allocations: 1.531 kB / 395 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.2427, allocations: 16.41 kB / 395 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2427, allocations: 6.406 kB / 395 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.243, allocations: 194 kB / 395.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2446, allocations: 1.731 MB / 397 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2449, allocations: 131.8 kB / 397.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.245, allocations: 66.83 kB / 397.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.2451, allocations: 171.9 kB / 397.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2451, allocations: 39.72 kB / 397.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.2451, allocations: 1.875 kB / 397.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001653/0.2468, allocations: 0.795 MB / 398.2 MB, free: 116 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.2468, allocations: 53.97 kB / 398.2 MB, free: 52 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2471, allocations: 278.4 kB / 398.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2472, allocations: 31.64 kB / 398.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2473, allocations: 195.6 kB / 398.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.2474, allocations: 79.73 kB / 398.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.2475, allocations: 67.75 kB / 398.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2476, allocations: 340.8 kB / 399.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.2478, allocations: 66.12 kB / 399.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.248, allocations: 189.5 kB / 399.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.2483, allocations: 288.5 kB / 399.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2483, allocations: 1.953 kB / 399.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005316/0.2489, allocations: 328.6 kB / 400 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2489, allocations: 6.531 kB / 400 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2489, allocations: 4.516 kB / 400.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.426e-05/0.249, allocations: 27.41 kB / 400.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.2493, allocations: 88.47 kB / 400.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2504, allocations: 1.399 MB / 401.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2506, allocations: 8.375 kB / 401.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.2506, allocations: 17.94 kB / 401.6 MB, free: 13.2 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.0001433/0.2508, allocations: 164.2 kB / 401.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.2508, allocations: 26.72 kB / 401.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.2512, allocations: 201.1 kB / 402 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003671/0.2516, allocations: 491.3 kB / 402.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2516, allocations: 4 kB / 402.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.2517, allocations: 101.8 kB / 402.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2517, allocations: 2.781 kB / 402.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.2519, allocations: 7.297 kB / 402.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.252, allocations: 15.47 kB / 402.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004914/0.2525, allocations: 270.2 kB / 402.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000529/0.253, allocations: 437.2 kB / 403.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001237/0.2532, allocations: 64.53 kB / 403.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.2534, allocations: 193.4 kB / 403.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.2534, allocations: 0 / 403.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2545, allocations: 374.4 kB / 403.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of SimCode: time 0.001621/0.2561, allocations: 1.078 MB / 405 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Templates: time 0.00997/0.2661, allocations: 5.426 MB / 410.4 MB, free: 8.809 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) 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) Reference file matches