Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.001173/0.001173, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.000842/0.000842, allocations: 159.4 kB / 25.45 MB, free: 9.352 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 0.8876/0.8876, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 4 kB / 299.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.285e-05, allocations: 2.281 kB / 299.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02258/0.02261, allocations: 29.64 MB / 329.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.03504, allocations: 14 MB / 343.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.03534, allocations: 7.938 kB / 343.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007359/0.03607, allocations: 238.4 kB / 343.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.03672, allocations: 381.5 kB / 344 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.04852, allocations: 5.798 MB / 349.8 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.04954, allocations: 1.004 MB / 350.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.04973, allocations: 85.17 kB / 350.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.05269, allocations: 2.333 MB / 353.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.05301, allocations: 283.1 kB / 353.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.05306, allocations: 40 kB / 353.5 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1729/0.226, allocations: 5.827 MB / 359.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2261, allocations: 118.2 kB / 359.5 MB, free: 20.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.2264, allocations: 167.3 kB / 359.6 MB, free: 20.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.2319, allocations: 4.763 MB / 364.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2319, allocations: 3.875 kB / 364.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2319, allocations: 0 / 364.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2319, allocations: 0 / 364.4 MB, free: 20.27 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001419/0.2333, allocations: 0.9548 MB / 365.4 MB, free: 19.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2333, allocations: 13.77 kB / 365.4 MB, free: 19.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006893/0.234, allocations: 152 kB / 365.5 MB, free: 19.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.2344, allocations: 262.7 kB / 365.8 MB, free: 19.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.2345, allocations: 32.22 kB / 365.8 MB, free: 19.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.2345, allocations: 32.97 kB / 365.8 MB, free: 19.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.2353, allocations: 0.6977 MB / 366.5 MB, free: 19.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2353, allocations: 384 / 366.5 MB, free: 19.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.2354, allocations: 20.44 kB / 366.6 MB, free: 19.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2354, allocations: 12.19 kB / 366.6 MB, free: 19.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.2362, allocations: 0.4929 MB / 367.1 MB, free: 19.25 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2377, allocations: 1.721 MB / 368.8 MB, free: 18.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.2385, allocations: 432 kB / 369.2 MB, free: 18.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.2387, allocations: 159 kB / 369.4 MB, free: 18.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.239, allocations: 192.4 kB / 369.6 MB, free: 18.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.239, allocations: 37.44 kB / 369.6 MB, free: 18.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.242e-06/0.239, allocations: 0 / 369.6 MB, free: 18.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002406/0.2414, allocations: 1.35 MB / 370.9 MB, free: 17.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.2414, allocations: 55.53 kB / 371 MB, free: 17.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2416, allocations: 217.7 kB / 371.2 MB, free: 17.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2416, allocations: 32.36 kB / 371.2 MB, free: 17.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.2417, allocations: 193.5 kB / 371.4 MB, free: 17.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.2417, allocations: 121.9 kB / 371.5 MB, free: 17.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.2418, allocations: 81.08 kB / 371.6 MB, free: 17.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.2418, allocations: 338.6 kB / 372 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2421, allocations: 144.9 kB / 372.1 MB, free: 17.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.2423, allocations: 239.5 kB / 372.3 MB, free: 17.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.2427, allocations: 398.1 kB / 372.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2427, allocations: 0 / 372.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006604/0.2434, allocations: 0.4996 MB / 373.2 MB, free: 16.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2434, allocations: 7.562 kB / 373.2 MB, free: 16.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2434, allocations: 2.5 kB / 373.2 MB, free: 16.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.2437, allocations: 101.9 kB / 373.3 MB, free: 16.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.2439, allocations: 94.17 kB / 373.4 MB, free: 16.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008738/0.2447, allocations: 2.385 MB / 375.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2449, allocations: 31 kB / 375.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2449, allocations: 16.81 kB / 375.9 MB, free: 14.6 MB / 330.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: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.245, allocations: 160.1 kB / 376 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.245, allocations: 25.05 kB / 376 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.2461, allocations: 1.379 MB / 377.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.2461, allocations: 21.66 kB / 377.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2461, allocations: 0 / 377.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00092/0.247, allocations: 1.471 MB / 378.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.2484, allocations: 1.961 MB / 380.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2484, allocations: 0 / 380.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.2486, allocations: 95.77 kB / 381 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.2488, allocations: 72.02 kB / 381 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2488, allocations: 11.22 kB / 381 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001567/0.2489, allocations: 0.5941 MB / 381.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2489, allocations: 3.531 kB / 381.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.2499, allocations: 1.297 MB / 382.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.2499, allocations: 60.78 kB / 383 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.2499, allocations: 19.88 kB / 383 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2501, allocations: 22.86 kB / 383 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.2501, allocations: 37.33 kB / 383.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2501, allocations: 15.47 kB / 383.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.2503, allocations: 209.3 kB / 383.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2503, allocations: 3.094 kB / 383.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002265/0.2525, allocations: 0.8648 MB / 384.2 MB, free: 12.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00221/0.2547, allocations: 1.092 MB / 385.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.2554, allocations: 0.6423 MB / 385.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2554, allocations: 0 / 385.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.2558, allocations: 382.2 kB / 386.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.2563, allocations: 162.8 kB / 386.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2576, allocations: 1.262 MB / 387.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.2577, allocations: 270.8 kB / 388 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.2578, allocations: 37.47 kB / 388 MB, free: 10.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2578, allocations: 0 / 388 MB, free: 10.54 MB / 330.7 MB Notification: Performance of Templates: time 0.02139/0.2792, allocations: 24.62 MB / 412.6 MB, free: 3.68 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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: 6.37103670462966]