Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008596/0.0008596, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000711/0.000711, allocations: 95.7 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002998, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.195, allocations: 47.56 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02857/0.2236, allocations: 36.37 MB / 410.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2254, allocations: 1.919 MB / 412.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.2255, allocations: 7.938 kB / 412.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.226, allocations: 127.2 kB / 413 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.2264, allocations: 294.5 kB / 413.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.2269, allocations: 218.5 kB / 413.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000669/0.2276, allocations: 1.067 MB / 414.6 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2277, allocations: 73.75 kB / 414.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0934/0.3211, allocations: 73.13 MB / 487.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.3217, allocations: 263 kB / 488 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.3218, allocations: 12 kB / 488 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3219, allocations: 24 kB / 488 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.322, allocations: 71.72 kB / 488.1 MB, free: 15.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3221, allocations: 93.56 kB / 488.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.3224, allocations: 331.1 kB / 488.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3224, allocations: 0 / 488.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3225, allocations: 0 / 488.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3225, allocations: 3.938 kB / 488.5 MB, free: 14.74 MB / 378.7 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.0007956/0.3233, allocations: 0.5262 MB / 489.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3233, allocations: 12.03 kB / 489.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.3236, allocations: 35.7 kB / 489.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3239, allocations: 274.5 kB / 489.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3239, allocations: 16.56 kB / 489.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.324, allocations: 28 kB / 489.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.3244, allocations: 311.6 kB / 489.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3244, allocations: 0 / 489.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3245, allocations: 12 kB / 489.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3245, allocations: 4 kB / 489.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.3248, allocations: 201.5 kB / 489.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.3263, allocations: 1.432 MB / 491.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3266, allocations: 175.1 kB / 491.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3267, allocations: 89.3 kB / 491.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3268, allocations: 4.188 kB / 491.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3268, allocations: 34.75 kB / 491.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.3268, allocations: 0 / 491.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.002362/0.3292, allocations: 1.008 MB / 492.7 MB, free: 10.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.3292, allocations: 55.41 kB / 492.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.3295, allocations: 266.5 kB / 493 MB, free: 9.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3295, allocations: 29.7 kB / 493 MB, free: 9.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.3296, allocations: 176.2 kB / 493.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.3297, allocations: 94.66 kB / 493.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.3297, allocations: 8 kB / 493.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3298, allocations: 334.8 kB / 493.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3299, allocations: 87.75 kB / 493.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3301, allocations: 178.8 kB / 493.9 MB, free: 8.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3303, allocations: 115.9 kB / 494 MB, free: 8.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3303, allocations: 0 / 494 MB, free: 8.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000644/0.331, allocations: 395.1 kB / 494.4 MB, free: 8.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.331, allocations: 4 kB / 494.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.331, allocations: 4 kB / 494.4 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.3313, allocations: 62.05 kB / 494.4 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3316, allocations: 75.84 kB / 494.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.3335, allocations: 2.67 MB / 497.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.3338, allocations: 32.02 kB / 497.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.3338, allocations: 15.94 kB / 497.2 MB, free: 5.355 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.3339, allocations: 153.7 kB / 497.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.334, allocations: 23.72 kB / 497.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.3341, allocations: 38.17 kB / 497.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3341, allocations: 4 kB / 497.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3341, allocations: 4 kB / 497.5 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005667/0.3347, allocations: 0.5709 MB / 498 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.3356, allocations: 0.7066 MB / 498.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3356, allocations: 0 / 498.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.3358, allocations: 47.91 kB / 498.8 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.3361, allocations: 56.78 kB / 498.8 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3361, allocations: 8 kB / 498.8 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.3372, allocations: 1.386 MB / 0.4885 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3372, allocations: 4 kB / 0.4885 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.3378, allocations: 477.1 kB / 0.489 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.3379, allocations: 104.8 kB / 0.4891 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.338, allocations: 8 kB / 0.4891 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3382, allocations: 11.97 kB / 0.4891 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.3382, allocations: 19.97 kB / 0.4891 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3383, allocations: 15.98 kB / 0.4891 GB, free: 1.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3384, allocations: 181.9 kB / 0.4893 GB, free: 1.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3384, allocations: 0 / 0.4893 GB, free: 1.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.3388, allocations: 92 kB / 0.4894 GB, free: 1.133 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.3389, allocations: 111.1 kB / 0.4895 GB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006431/0.3396, allocations: 465.3 kB / 0.4899 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3396, allocations: 0 / 0.4899 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.3399, allocations: 239.3 kB / 0.4902 GB, free: 292 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.3409, allocations: 168.3 kB / 0.4903 GB, free: 128 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1297/0.4705, allocations: 0.8467 MB / 0.4911 GB, free: 121.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.4707, allocations: 0.761 MB / 0.4919 GB, free: 120.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/0.4708, allocations: 32.22 kB / 0.4919 GB, free: 120.4 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4708, allocations: 0 / 0.4919 GB, free: 120.4 MB / 378.7 MB Notification: Performance of Templates: time 0.007257/0.4781, allocations: 5.912 MB / 0.4977 GB, free: 117.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches