Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.92 MB / 361.5 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 79.86 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2704, allocations: 66.09 MB / 0.562 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0469/0.3173, allocations: 39.76 MB / 0.6008 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02708/0.3444, allocations: 20.33 MB / 0.6207 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008139/0.3452, allocations: 27.75 kB / 0.6207 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.3465, allocations: 445.3 kB / 0.6211 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.3597, allocations: 5.165 MB / 0.6262 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006708/0.3664, allocations: 2.6 MB / 0.6287 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002846/0.3692, allocations: 1.973 MB / 0.6306 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007471/0.37, allocations: 409.8 kB / 0.631 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008891/0.3789, allocations: 4.191 MB / 0.6351 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0108/0.3897, allocations: 5.49 MB / 0.6405 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.3899, allocations: 64 kB / 0.6405 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01431/0.4042, allocations: 7.278 MB / 0.6476 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005214/0.4048, allocations: 279.1 kB / 0.6479 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008425/0.4056, allocations: 446 kB / 0.6483 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.4161, allocations: 4.992 MB / 0.6532 GB, free: 6.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4161, allocations: 0 / 0.6532 GB, free: 6.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4161, allocations: 0 / 0.6532 GB, free: 6.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.191e-05/0.4161, allocations: 0 / 0.6532 GB, free: 6.41 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004511/0.4207, allocations: 1.608 MB / 0.6548 GB, free: 4.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4207, allocations: 8.031 kB / 0.6548 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.4222, allocations: 220.3 kB / 0.655 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4232, allocations: 0.4947 MB / 0.6555 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.4234, allocations: 168.7 kB / 0.6556 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4235, allocations: 64.12 kB / 0.6557 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.4254, allocations: 1.075 MB / 0.6567 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.4255, allocations: 4 kB / 0.6567 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.4255, allocations: 31.94 kB / 0.6568 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/0.4256, allocations: 40.98 kB / 0.6568 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.4273, allocations: 0.8233 MB / 0.6576 GB, free: 1.684 MB / 494.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.006417/0.4337, allocations: 5.443 MB / 0.6629 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.4349, allocations: 0.5076 MB / 0.6634 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.4353, allocations: 210.2 kB / 0.6636 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08636/0.5216, allocations: 26 MB / 0.689 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.5217, allocations: 46.5 kB / 0.6891 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.5217, allocations: 0 / 0.6891 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006695/0.5284, allocations: 2.073 MB / 0.6911 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.5285, allocations: 191.9 kB / 0.6913 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009284/0.5294, allocations: 0.6368 MB / 0.6919 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.5295, allocations: 37.64 kB / 0.6919 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.5299, allocations: 408.4 kB / 0.6923 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5301, allocations: 174.5 kB / 0.6925 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.5303, allocations: 162.6 kB / 0.6926 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002447/0.5306, allocations: 374.8 kB / 0.693 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.531, allocations: 233.9 kB / 0.6932 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.5317, allocations: 0.5897 MB / 0.6938 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.533, allocations: 0.8649 MB / 0.6946 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.533, allocations: 11.94 kB / 0.6947 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001612/0.5346, allocations: 0.8925 MB / 0.6955 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.5346, allocations: 12 kB / 0.6955 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.5347, allocations: 12 kB / 0.6956 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.5378, allocations: 280.4 kB / 0.6958 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.5391, allocations: 279.9 kB / 0.6961 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.5411, allocations: 2.01 MB / 0.6981 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.5417, allocations: 32 kB / 0.6981 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.5418, allocations: 48.14 kB / 0.6981 GB, free: 7.184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0004114/0.5422, allocations: 278.7 kB / 0.6984 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.5424, allocations: 75.53 kB / 0.6985 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.545, allocations: 2.085 MB / 0.7005 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.545, allocations: 27.91 kB / 0.7005 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.545, allocations: 0 / 0.7005 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.545, allocations: 7.984 kB / 0.7005 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.5489, allocations: 3.048 MB / 0.7035 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5489, allocations: 0 / 0.7035 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/0.5498, allocations: 191.8 kB / 0.7037 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.5515, allocations: 307.9 kB / 0.704 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.5515, allocations: 12 kB / 0.704 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.5535, allocations: 2.081 MB / 0.706 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5535, allocations: 0 / 0.706 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.5559, allocations: 1.996 MB / 0.708 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.5562, allocations: 163 kB / 0.7081 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.5563, allocations: 31.77 kB / 0.7082 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.5567, allocations: 12 kB / 0.7082 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.5568, allocations: 32.38 kB / 0.7082 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.5568, allocations: 24.05 kB / 0.7082 GB, free: 12.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007701/0.5576, allocations: 0.5693 MB / 0.7088 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5576, allocations: 0 / 0.7088 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003072/0.5607, allocations: 1.104 MB / 0.7099 GB, free: 10.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.004318/0.565, allocations: 1.191 MB / 0.711 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.567, allocations: 0.9015 MB / 0.7119 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.567, allocations: 4 kB / 0.7119 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.5682, allocations: 0.593 MB / 0.7125 GB, free: 8.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.5702, allocations: 410 kB / 0.7129 GB, free: 7.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.5737, allocations: 2.216 MB / 0.715 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/0.5746, allocations: 1.089 MB / 0.7161 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.5747, allocations: 71.42 kB / 0.7162 GB, free: 4.367 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.5747, allocations: 0 / 0.7162 GB, free: 4.367 MB / 0.545 GB Notification: Performance of Templates: time 0.2498/0.8245, allocations: 37.38 MB / 0.7527 GB, free: 152.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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: 11.10120707610622]