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_pT.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.001855/0.001855, allocations: 85.67 kB / 21.44 MB, free: 296 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.001813/0.001813, allocations: 163.4 kB / 24.7 MB, free: 3.547 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.354/1.354, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.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.Water.WaterIF97_pT,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.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,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.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.832e-05, allocations: 2.281 kB / 299 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2275/0.2275, allocations: 29.62 MB / 328.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01943/0.2469, allocations: 13.99 MB / 342.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.2473, allocations: 11.28 kB / 342.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009182/0.2482, allocations: 247 kB / 342.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009033/0.2491, allocations: 382.3 kB / 343.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02264/0.2718, allocations: 5.802 MB / 349 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.2734, allocations: 0.9811 MB / 350 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.2736, allocations: 76.69 kB / 350.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005393/0.279, allocations: 2.331 MB / 352.4 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003878/0.2794, allocations: 269 kB / 352.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.2794, allocations: 36.75 kB / 352.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006296/0.2857, allocations: 3.489 MB / 356.2 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.2859, allocations: 111 kB / 356.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.2861, allocations: 164.8 kB / 356.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.2904, allocations: 2.942 MB / 359.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2904, allocations: 2.438 kB / 359.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2904, allocations: 0 / 359.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2904, allocations: 0 / 359.4 MB, free: 1.453 MB / 302.1 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.001332/0.2918, allocations: 0.7491 MB / 360.2 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2918, allocations: 12.77 kB / 360.2 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007451/0.2926, allocations: 88.41 kB / 360.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.293, allocations: 251.1 kB / 360.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.293, allocations: 21.66 kB / 360.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.2931, allocations: 32.38 kB / 360.6 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008476/0.2939, allocations: 0.5871 MB / 361.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.294, allocations: 4.312 kB / 361.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.294, allocations: 15.94 kB / 361.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.294, allocations: 12 kB / 361.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007089/0.2947, allocations: 318.2 kB / 361.5 MB, free: 15.52 MB / 318.1 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.002807/0.2975, allocations: 1.841 MB / 363.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.2982, allocations: 243.1 kB / 363.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2984, allocations: 100.8 kB / 363.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03333/0.3317, allocations: 8.335 MB / 372 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/0.3318, allocations: 38.56 kB / 372.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.3318, allocations: 0 / 372.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.004953/0.3367, allocations: 1.157 MB / 373.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3368, allocations: 55.41 kB / 373.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.3372, allocations: 245.6 kB / 373.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3372, allocations: 29.7 kB / 373.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3374, allocations: 204.2 kB / 373.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3375, allocations: 111.1 kB / 373.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3376, allocations: 82.08 kB / 373.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3378, allocations: 338.8 kB / 374.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.338, allocations: 101 kB / 374.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.3383, allocations: 223.5 kB / 374.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.3389, allocations: 362.2 kB / 374.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3389, allocations: 0 / 374.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008526/0.3397, allocations: 434.8 kB / 375.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3397, allocations: 14.44 kB / 375.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.3398, allocations: 4 kB / 375.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/0.3432, allocations: 261.9 kB / 375.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.3435, allocations: 83.89 kB / 375.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.3455, allocations: 1.848 MB / 377.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.3458, allocations: 12 kB / 377.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.3458, allocations: 23.92 kB / 377.6 MB, free: 15 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002598/0.3461, allocations: 158 kB / 377.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3462, allocations: 31.81 kB / 377.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.3477, allocations: 0.9896 MB / 378.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3477, allocations: 4 kB / 378.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3477, allocations: 3.938 kB / 378.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/0.349, allocations: 1.157 MB / 379.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.3512, allocations: 1.44 MB / 381.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.3512, allocations: 3.938 kB / 381.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3515, allocations: 55.97 kB / 381.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.3533, allocations: 280.5 kB / 381.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.3534, allocations: 19.98 kB / 381.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/0.3542, allocations: 0.6734 MB / 382.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3542, allocations: 3.984 kB / 382.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.3558, allocations: 0.9765 MB / 383.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.3559, allocations: 31.75 kB / 383.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.356, allocations: 15.89 kB / 383.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3561, allocations: 8.125 kB / 383.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.3562, allocations: 19.95 kB / 383.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.3562, allocations: 15.94 kB / 383.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.3565, allocations: 219.1 kB / 383.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3565, allocations: 0 / 383.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002278/0.3588, allocations: 0.4917 MB / 384.2 MB, free: 8.219 MB / 334.1 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.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/0.3609, allocations: 0.5778 MB / 384.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.362, allocations: 0.515 MB / 385.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.362, allocations: 3.938 kB / 385.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.3625, allocations: 284.3 kB / 385.5 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009708/0.3634, allocations: 154.5 kB / 385.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3651, allocations: 0.9627 MB / 386.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3654, allocations: 220.5 kB / 386.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.3656, allocations: 98.86 kB / 387 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.3657, allocations: 36.48 kB / 387 MB, free: 5.305 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3657, allocations: 4 kB / 387 MB, free: 5.301 MB / 334.1 MB Notification: Performance of Templates: time 0.03131/0.397, allocations: 18.09 MB / 405.1 MB, free: 3.188 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.259059317409992]