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.001289/0.001289, allocations: 110.7 kB / 18.4 MB, free: 4.656 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.001398/0.001398, allocations: 190 kB / 19.34 MB, free: 3.734 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.268/1.268, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001194/0.001194, allocations: 51.92 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07319/0.07439, allocations: 46.61 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1573/0.2318, allocations: 12.86 MB / 388.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2337, allocations: 1.706 MB / 390.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.234, allocations: 7.531 kB / 390.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.2346, allocations: 167 kB / 390.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006739/0.2353, allocations: 318.3 kB / 390.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009923/0.2363, allocations: 413.4 kB / 391.3 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009282/0.2372, allocations: 0.8245 MB / 392.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2374, allocations: 106.9 kB / 392.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007317/0.2382, allocations: 387.5 kB / 392.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.2386, allocations: 261.3 kB / 392.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.2387, allocations: 29.88 kB / 392.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.239, allocations: 100.7 kB / 393 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2391, allocations: 99.88 kB / 393.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.2394, allocations: 177.3 kB / 393.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.24, allocations: 481.8 kB / 393.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.24, allocations: 0 / 393.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.24, allocations: 0 / 393.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.24, allocations: 2.719 kB / 393.8 MB, free: 3.582 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.0007656/0.2408, allocations: 0.5747 MB / 394.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2408, allocations: 9.641 kB / 394.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.2411, allocations: 43.84 kB / 394.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.2415, allocations: 293.1 kB / 394.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2415, allocations: 19.19 kB / 394.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.2416, allocations: 24.31 kB / 394.7 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.242, allocations: 330.5 kB / 395 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2421, allocations: 3.938 kB / 395 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.2421, allocations: 12.34 kB / 395 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2421, allocations: 10.22 kB / 395.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.2424, allocations: 196.3 kB / 395.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.244, allocations: 1.723 MB / 397 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.2443, allocations: 136.7 kB / 397.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.2444, allocations: 67 kB / 397.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.2445, allocations: 167.1 kB / 397.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2445, allocations: 41.38 kB / 397.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2445, allocations: 0 / 397.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001594/0.2461, allocations: 0.7968 MB / 398.2 MB, free: 112 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.365e-05/0.2462, allocations: 54.58 kB / 398.2 MB, free: 48 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.2465, allocations: 277.4 kB / 398.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.2465, allocations: 31.05 kB / 398.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.2466, allocations: 192.2 kB / 398.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.2467, allocations: 83.91 kB / 398.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.665e-05/0.2468, allocations: 67.69 kB / 398.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2469, allocations: 341.7 kB / 399.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.2471, allocations: 69.59 kB / 399.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.2473, allocations: 190.2 kB / 399.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.2476, allocations: 288 kB / 399.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2476, allocations: 1.031 kB / 399.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005115/0.2481, allocations: 328.9 kB / 400.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2482, allocations: 7.594 kB / 400.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2482, allocations: 4.281 kB / 400.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.2483, allocations: 23.92 kB / 400.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.2486, allocations: 90.92 kB / 400.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.2497, allocations: 1.399 MB / 401.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.2499, allocations: 13.44 kB / 401.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.25, allocations: 17.3 kB / 401.6 MB, free: 13.19 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.0001862/0.2501, allocations: 156.7 kB / 401.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.2502, allocations: 26.42 kB / 401.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.2506, allocations: 213.7 kB / 402 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003542/0.251, allocations: 479.4 kB / 402.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.251, allocations: 4 kB / 402.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.2511, allocations: 102.9 kB / 402.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.2511, allocations: 1.859 kB / 402.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2513, allocations: 7.109 kB / 402.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.2514, allocations: 14.88 kB / 402.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004571/0.2518, allocations: 273.8 kB / 402.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004626/0.2523, allocations: 436.4 kB / 403.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001039/0.2524, allocations: 65.7 kB / 403.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.2527, allocations: 193.1 kB / 403.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Backend: time 3.3e-07/0.2527, allocations: 0 / 403.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008838/0.2536, allocations: 382.1 kB / 403.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of SimCode: time 0.001552/0.2551, allocations: 1.064 MB / 405 MB, free: 10.65 MB / 334.1 MB Notification: Performance of Templates: time 0.01024/0.2654, allocations: 5.347 MB / 410.3 MB, free: 8.859 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