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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002616/0.002616, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 51.92 kB / 348.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3152, allocations: 49.16 MB / 397.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0156/0.3308, allocations: 16.09 MB / 413.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.3341, allocations: 1.934 MB / 415.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.3343, allocations: 7.875 kB / 415.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.335, allocations: 171 kB / 415.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.3357, allocations: 319.1 kB / 416.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.3365, allocations: 292 kB / 416.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3376, allocations: 0.8636 MB / 417.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3378, allocations: 78.75 kB / 417.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.3389, allocations: 0.5268 MB / 417.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.3393, allocations: 289.8 kB / 418.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.3394, allocations: 29.5 kB / 418.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.3395, allocations: 42.52 kB / 418.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3396, allocations: 94.39 kB / 418.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.3398, allocations: 182.3 kB / 418.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.3404, allocations: 437.4 kB / 419 MB, free: 10.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3404, allocations: 1.188 kB / 419 MB, free: 10.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3404, allocations: 0 / 419 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3404, allocations: 0 / 419 MB, free: 10.56 MB / 334.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.0009645/0.3414, allocations: 0.5105 MB / 419.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3414, allocations: 13.61 kB / 419.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.3417, allocations: 47.92 kB / 419.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3422, allocations: 218.9 kB / 419.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.3422, allocations: 18.31 kB / 419.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.3422, allocations: 29.06 kB / 419.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.3428, allocations: 304.8 kB / 420.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3428, allocations: 5.578 kB / 420.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.3429, allocations: 13 kB / 420.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3429, allocations: 7.812 kB / 420.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.3432, allocations: 205.3 kB / 420.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.3451, allocations: 1.393 MB / 421.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.3454, allocations: 179.7 kB / 421.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3456, allocations: 82.05 kB / 422 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.3456, allocations: 2.594 kB / 422 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3456, allocations: 37.12 kB / 422 MB, free: 8.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.3456, allocations: 0 / 422 MB, free: 8.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002546/0.3482, allocations: 0.8484 MB / 422.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3482, allocations: 57.56 kB / 422.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.3485, allocations: 262.3 kB / 423.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3486, allocations: 30.92 kB / 423.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3487, allocations: 190.4 kB / 423.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.3488, allocations: 94.3 kB / 423.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3489, allocations: 66.44 kB / 423.5 MB, free: 6.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3491, allocations: 336.7 kB / 423.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3492, allocations: 82.97 kB / 424 MB, free: 6.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3495, allocations: 186.6 kB / 424.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.3499, allocations: 280.7 kB / 424.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3499, allocations: 9.062 kB / 424.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007077/0.3506, allocations: 380.8 kB / 424.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3506, allocations: 6.438 kB / 424.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3506, allocations: 7.562 kB / 424.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.3509, allocations: 64.3 kB / 424.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.3512, allocations: 69.41 kB / 424.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.3537, allocations: 2.68 MB / 427.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.3539, allocations: 14.69 kB / 427.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.354, allocations: 15.59 kB / 427.6 MB, free: 3.156 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.0001802/0.3542, allocations: 154.3 kB / 427.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3542, allocations: 24.98 kB / 427.8 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.3543, allocations: 36.8 kB / 427.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3543, allocations: 2.688 kB / 427.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3543, allocations: 1.406 kB / 427.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006868/0.355, allocations: 0.5701 MB / 428.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3561, allocations: 0.6713 MB / 429.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3561, allocations: 0 / 429.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.3563, allocations: 45.39 kB / 429.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.3565, allocations: 57.98 kB / 429.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.3565, allocations: 9.984 kB / 429.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.3578, allocations: 1.376 MB / 430.6 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3578, allocations: 0 / 430.6 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.3585, allocations: 481.4 kB / 431.1 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.3586, allocations: 23.97 kB / 431.1 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.3586, allocations: 9.25 kB / 431.1 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3588, allocations: 5.531 kB / 431.1 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3588, allocations: 18.45 kB / 431.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.3588, allocations: 11.66 kB / 431.1 MB, free: 64 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.3591, allocations: 187.5 kB / 431.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 0 / 431.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.3595, allocations: 90.44 kB / 431.4 MB, free: 15.92 MB / 350.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.0001602/0.3596, allocations: 103.9 kB / 431.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008315/0.3605, allocations: 472.6 kB / 432 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3605, allocations: 0 / 432 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3608, allocations: 226 kB / 432.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.3617, allocations: 162.2 kB / 432.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.363, allocations: 0.7248 MB / 433.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.3634, allocations: 0.7655 MB / 433.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.3635, allocations: 27.75 kB / 433.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3635, allocations: 0 / 433.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Templates: time 0.008891/0.3724, allocations: 6.014 MB / 439.9 MB, free: 8.082 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.983327678171918]