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.001111/0.001111, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.001244/0.001244, allocations: 179 kB / 18.66 MB, free: 4.398 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.42/1.42, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001906/0.001906, allocations: 51.92 kB / 328.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1098, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.2279/0.3378, allocations: 15.84 MB / 391 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.3403, allocations: 1.91 MB / 392.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.3406, allocations: 3.25 kB / 392.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006429/0.3413, allocations: 174.2 kB / 393.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.3419, allocations: 313.3 kB / 393.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.3426, allocations: 284 kB / 393.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000908/0.3435, allocations: 0.8371 MB / 394.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.3437, allocations: 103.3 kB / 394.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.3446, allocations: 0.5151 MB / 395.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.345, allocations: 276.1 kB / 395.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.3451, allocations: 29.16 kB / 395.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3453, allocations: 39.23 kB / 395.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3454, allocations: 90.38 kB / 395.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.3456, allocations: 175.7 kB / 395.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.3461, allocations: 440.1 kB / 396.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3461, allocations: 1.156 kB / 396.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3461, allocations: 0 / 396.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3461, allocations: 0 / 396.2 MB, free: 1.543 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.0009335/0.3471, allocations: 0.5845 MB / 396.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3471, allocations: 9.406 kB / 396.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.3474, allocations: 43.67 kB / 396.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3479, allocations: 288.6 kB / 397.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3479, allocations: 19.28 kB / 397.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.348, allocations: 29.02 kB / 397.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.3485, allocations: 310.3 kB / 397.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3485, allocations: 0 / 397.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3485, allocations: 11.94 kB / 397.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3485, allocations: 6 kB / 397.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.3489, allocations: 199.2 kB / 397.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.3507, allocations: 1.434 MB / 399.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.3511, allocations: 182.2 kB / 399.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3513, allocations: 89.3 kB / 399.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.3513, allocations: 2.375 kB / 399.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3514, allocations: 33.88 kB / 399.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.3514, allocations: 4 kB / 399.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002695/0.3541, allocations: 1 MB / 400.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3541, allocations: 55.3 kB / 400.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.3545, allocations: 261.2 kB / 400.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3545, allocations: 32.02 kB / 400.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3547, allocations: 182.1 kB / 400.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.3548, allocations: 85.92 kB / 401 MB, free: 14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3549, allocations: 62.5 kB / 401.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.355, allocations: 336.6 kB / 401.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3552, allocations: 88.56 kB / 401.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.3555, allocations: 180.9 kB / 401.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.3559, allocations: 277.7 kB / 401.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.356, allocations: 5 kB / 401.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000783/0.3567, allocations: 393.1 kB / 402.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3568, allocations: 5.812 kB / 402.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.3568, allocations: 3 kB / 402.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.3571, allocations: 67.41 kB / 402.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.3575, allocations: 68.94 kB / 402.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.3599, allocations: 2.878 MB / 405.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3602, allocations: 12.38 kB / 405.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.3602, allocations: 15.12 kB / 405.4 MB, free: 10.12 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.000201/0.3604, allocations: 156.7 kB / 405.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.3605, allocations: 29.59 kB / 405.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.3606, allocations: 39.52 kB / 405.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3606, allocations: 2.922 kB / 405.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.3606, allocations: 3.469 kB / 405.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006655/0.3613, allocations: 0.5615 MB / 406.2 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3625, allocations: 0.6961 MB / 406.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3626, allocations: 5.531 kB / 406.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.3628, allocations: 47.58 kB / 406.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.363, allocations: 53.78 kB / 407 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.363, allocations: 7.203 kB / 407 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.3643, allocations: 1.489 MB / 408.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3643, allocations: 2.078 kB / 408.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.365, allocations: 475.9 kB / 408.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.3651, allocations: 106.4 kB / 409 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.3652, allocations: 6.75 kB / 409 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3654, allocations: 6.078 kB / 409 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3654, allocations: 19.06 kB / 409 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3655, allocations: 12.8 kB / 409.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.3657, allocations: 181.7 kB / 409.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3657, allocations: 1.375 kB / 409.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000466/0.3662, allocations: 94.86 kB / 409.3 MB, free: 6.863 MB / 334.1 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.3663, allocations: 106 kB / 409.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009267/0.3673, allocations: 485 kB / 409.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3673, allocations: 3.938 kB / 409.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.3677, allocations: 232.2 kB / 410.1 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.3687, allocations: 161.5 kB / 410.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.37, allocations: 0.6918 MB / 411 MB, free: 5.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3704, allocations: 0.7633 MB / 411.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.3707, allocations: 50.08 kB / 411.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.3707, allocations: 25.94 kB / 411.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3707, allocations: 1.188 kB / 411.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of Templates: time 0.01142/0.3822, allocations: 5.741 MB / 417.6 MB, free: 2.445 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/jenkins/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/jenkins/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