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.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.001545/0.001545, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.419/1.419, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.00208/0.00208, allocations: 51.94 kB / 329.3 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.0956, allocations: 46.61 MB / 375.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.1642/0.2598, allocations: 15.85 MB / 391.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.2623, allocations: 1.918 MB / 393.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004518/0.2628, allocations: 8.281 kB / 393.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.2634, allocations: 166.8 kB / 393.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007481/0.2642, allocations: 317.6 kB / 394.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007109/0.2649, allocations: 279.2 kB / 394.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.2661, allocations: 0.8386 MB / 395.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.2664, allocations: 107.1 kB / 395.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.2675, allocations: 0.5166 MB / 395.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.268, allocations: 273 kB / 396.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.268, allocations: 33.53 kB / 396.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.2682, allocations: 38 kB / 396.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2683, allocations: 81.17 kB / 396.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.2686, allocations: 185.9 kB / 396.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.2691, allocations: 441.8 kB / 396.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2691, allocations: 0 / 396.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2691, allocations: 1.219 kB / 396.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.2691, allocations: 0 / 396.9 MB, free: 1.289 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.0009394/0.2701, allocations: 0.5807 MB / 397.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2701, allocations: 8.625 kB / 397.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.2704, allocations: 42.94 kB / 397.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2708, allocations: 289.4 kB / 397.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2709, allocations: 18.69 kB / 397.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.2709, allocations: 25.58 kB / 397.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.2714, allocations: 302.1 kB / 398.1 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2714, allocations: 1.25 kB / 398.1 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.2714, allocations: 15.78 kB / 398.1 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2715, allocations: 7.781 kB / 398.1 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.2718, allocations: 200 kB / 398.3 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.2735, allocations: 1.433 MB / 399.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.2738, allocations: 181.7 kB / 400 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.274, allocations: 90.09 kB / 400 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.274, allocations: 4.266 kB / 400 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.274, allocations: 36.53 kB / 400.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.274, allocations: 0 / 400.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002506/0.2766, allocations: 0.9959 MB / 401.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2766, allocations: 54.45 kB / 401.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.2769, allocations: 266.8 kB / 401.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2769, allocations: 31.72 kB / 401.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.277, allocations: 181.6 kB / 401.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.2771, allocations: 89.97 kB / 401.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2772, allocations: 62.56 kB / 401.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2773, allocations: 340.4 kB / 402.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2775, allocations: 88.41 kB / 402.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2777, allocations: 185 kB / 402.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.2781, allocations: 285.4 kB / 402.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2781, allocations: 1.25 kB / 402.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006978/0.2788, allocations: 387.9 kB / 403 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2789, allocations: 6.672 kB / 403 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2789, allocations: 4.094 kB / 403 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.2791, allocations: 64.94 kB / 403.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.2794, allocations: 68.52 kB / 403.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.2817, allocations: 2.881 MB / 406 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.2819, allocations: 12.44 kB / 406 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.2819, allocations: 11.25 kB / 406.1 MB, free: 9.867 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.0001618/0.2821, allocations: 157.5 kB / 406.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.2822, allocations: 27.97 kB / 406.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.2823, allocations: 36.72 kB / 406.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006039/0.2829, allocations: 0.5649 MB / 406.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2829, allocations: 0 / 406.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.283, allocations: 99.98 kB / 406.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.283, allocations: 4.703 kB / 406.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2832, allocations: 6.406 kB / 406.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2833, allocations: 18.64 kB / 407 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000761/0.2841, allocations: 365.4 kB / 407.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006032/0.2847, allocations: 0.4991 MB / 407.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001509/0.2848, allocations: 95.48 kB / 407.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.285, allocations: 182.3 kB / 408.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of Backend: time 4.41e-07/0.285, allocations: 0 / 408.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.286, allocations: 0.4933 MB / 408.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of SimCode: time 0.001515/0.2876, allocations: 1.141 MB / 409.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of Templates: time 0.01033/0.2979, allocations: 5.343 MB / 415.1 MB, free: 4.906 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (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) 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) Reference file matches