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.001938/0.001938, allocations: 103.5 kB / 21.73 MB, free: 2.688 MB / 18.57 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.001928/0.001928, allocations: 166.3 kB / 25.03 MB, free: 8.941 MB / 18.57 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.599/1.599, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.402e-05, allocations: 2.312 kB / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.02428/0.02431, allocations: 16.39 MB / 266.8 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.02801, allocations: 1.959 MB / 268.8 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.02824, allocations: 7.938 kB / 268.8 MB, free: 5.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000683/0.02892, allocations: 162.9 kB / 268.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008285/0.02975, allocations: 337.9 kB / 269.3 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.03058, allocations: 295.3 kB / 269.5 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.03176, allocations: 0.8403 MB / 270.4 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.03197, allocations: 80.69 kB / 270.5 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.0334, allocations: 0.6306 MB / 271.1 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.03387, allocations: 251.2 kB / 271.3 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.03394, allocations: 31.94 kB / 271.4 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.0341, allocations: 39.94 kB / 271.4 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.03425, allocations: 99.69 kB / 271.5 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.03447, allocations: 135.8 kB / 271.6 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.03515, allocations: 454.6 kB / 272.1 MB, free: 2.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.03516, allocations: 4 kB / 272.1 MB, free: 2.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.03516, allocations: 0 / 272.1 MB, free: 2.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.03517, allocations: 0 / 272.1 MB, free: 2.016 MB / 250.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.001223/0.03639, allocations: 0.6244 MB / 272.7 MB, free: 1.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.03644, allocations: 15.98 kB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/0.03684, allocations: 80.55 kB / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.03732, allocations: 236 kB / 273 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.03736, allocations: 24.81 kB / 273.1 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.03742, allocations: 24.38 kB / 273.1 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.03813, allocations: 481.6 kB / 273.6 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.03815, allocations: 192 / 273.6 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.03819, allocations: 16.12 kB / 273.6 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.0382, allocations: 12 kB / 273.6 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.03859, allocations: 181.8 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.04105, allocations: 1.504 MB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.04144, allocations: 179.1 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.0416, allocations: 84.03 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.04165, allocations: 7.938 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.04169, allocations: 41.39 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.0417, allocations: 0 / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002658/0.04435, allocations: 0.8635 MB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.04441, allocations: 59.39 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.04478, allocations: 318.6 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.04481, allocations: 29.7 kB / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.04503, allocations: 239.1 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.04513, allocations: 103.2 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.04528, allocations: 83.34 kB / 277.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003068/0.04559, allocations: 0.5157 MB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.04576, allocations: 79.97 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.04608, allocations: 227.6 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.0466, allocations: 331.7 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.0466, allocations: 4 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008164/0.04742, allocations: 400.4 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.04744, allocations: 4 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.04745, allocations: 4 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/0.04779, allocations: 75.69 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.04812, allocations: 71.91 kB / 278.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.05197, allocations: 3.683 MB / 282.6 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.05222, allocations: 12 kB / 282.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.05225, allocations: 12 kB / 282.6 MB, free: 6.75 MB / 266.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 (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.0002337/0.05248, allocations: 196.5 kB / 282.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.05257, allocations: 39.75 kB / 282.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.662e-05/0.05266, allocations: 33.95 kB / 282.9 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.05267, allocations: 4 kB / 282.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.05267, allocations: 4.031 kB / 282.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000814/0.05349, allocations: 0.5541 MB / 283.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.05476, allocations: 0.6961 MB / 284.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.05477, allocations: 0 / 284.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.055, allocations: 47.91 kB / 284.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.0553, allocations: 63.55 kB / 284.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.05533, allocations: 8 kB / 284.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.05716, allocations: 1.889 MB / 286.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.05717, allocations: 4 kB / 286.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.0581, allocations: 0.5353 MB / 286.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.05816, allocations: 23.84 kB / 286.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.05821, allocations: 8 kB / 286.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.0584, allocations: 3.938 kB / 286.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.05847, allocations: 19.97 kB / 286.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.05849, allocations: 11.98 kB / 286.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002381/0.05873, allocations: 208.8 kB / 287 MB, free: 2.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05873, allocations: 0 / 287 MB, free: 2.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.0592, allocations: 88 kB / 287.1 MB, free: 2.016 MB / 266.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 (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.0001688/0.05937, allocations: 107.2 kB / 287.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.06042, allocations: 0.5811 MB / 287.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.06043, allocations: 0 / 287.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.06093, allocations: 313.2 kB / 288.1 MB, free: 0.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.0618, allocations: 136.2 kB / 288.2 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.06317, allocations: 0.6194 MB / 288.8 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.06365, allocations: 159.1 kB / 289 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.06389, allocations: 46.95 kB / 289 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.06397, allocations: 28.5 kB / 289 MB, free: 15.92 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.06397, allocations: 0 / 289 MB, free: 15.92 MB / 282.7 MB Notification: Performance of Templates: time 0.01273/0.0767, allocations: 5.182 MB / 294.2 MB, free: 10.8 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.092359961010516]