Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.001095/0.001095, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001193/0.001193, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.8987/0.8987, allocations: 158.6 MB / 185.9 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1213/0.1213, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 348.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.418e-05, allocations: 4.281 kB / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01264/0.01266, allocations: 16.49 MB / 364.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.02556, allocations: 13.78 MB / 378.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006204/0.02618, allocations: 31.69 kB / 378.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.02689, allocations: 246.3 kB / 378.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009861/0.03675, allocations: 4.943 MB / 383.6 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.04086, allocations: 1.959 MB / 385.6 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00239/0.04325, allocations: 2.074 MB / 387.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.0439, allocations: 461.9 kB / 388.1 MB, free: 1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00856/0.05246, allocations: 7.641 MB / 395.8 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.0549, allocations: 2.19 MB / 398 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.05503, allocations: 68 kB / 398 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009475/0.06451, allocations: 6.785 MB / 404.8 MB, free: 180 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.06492, allocations: 307.1 kB / 405.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.06538, allocations: 327.3 kB / 405.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.07566, allocations: 5.628 MB / 411.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.07566, allocations: 3.938 kB / 411.1 MB, free: 9.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07567, allocations: 0 / 411.1 MB, free: 9.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.07568, allocations: 0 / 411.1 MB, free: 9.91 MB / 346.7 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.003154/0.07883, allocations: 1.653 MB / 412.7 MB, free: 8.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.07888, allocations: 8.031 kB / 412.7 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.08008, allocations: 443.1 kB / 413.2 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.08075, allocations: 0.5318 MB / 413.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.08086, allocations: 164.7 kB / 413.8 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.08094, allocations: 68.36 kB / 413.9 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.0822, allocations: 1.281 MB / 415.2 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.08222, allocations: 7.875 kB / 415.2 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.08227, allocations: 24 kB / 415.2 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-05/0.08231, allocations: 49.28 kB / 415.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.0829, allocations: 424.4 kB / 415.7 MB, free: 4.965 MB / 346.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.003532/0.08643, allocations: 5.164 MB / 420.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.08737, allocations: 399 kB / 421.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.08748, allocations: 100 kB / 421.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1994/0.2869, allocations: 21.72 MB / 443.1 MB, free: 67.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/0.287, allocations: 44.05 kB / 443.1 MB, free: 67.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.859e-06/0.287, allocations: 0 / 443.1 MB, free: 67.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.004419/0.2914, allocations: 1.237 MB / 444.3 MB, free: 67.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.2915, allocations: 164.2 kB / 444.5 MB, free: 67.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.2921, allocations: 0.5726 MB / 445.1 MB, free: 67.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.2921, allocations: 33.2 kB / 445.1 MB, free: 67.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.2924, allocations: 472.5 kB / 445.6 MB, free: 67.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.2925, allocations: 186.6 kB / 445.7 MB, free: 66.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.2928, allocations: 175 kB / 445.9 MB, free: 66.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2929, allocations: 0.5541 MB / 446.5 MB, free: 66.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.2931, allocations: 80.39 kB / 446.6 MB, free: 66.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.2935, allocations: 0.6797 MB / 447.2 MB, free: 65.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008028/0.2943, allocations: 0.7381 MB / 448 MB, free: 65.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.2944, allocations: 6.016 kB / 448 MB, free: 65.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00134/0.2957, allocations: 0.6412 MB / 448.6 MB, free: 64.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.2957, allocations: 16.62 kB / 448.6 MB, free: 64.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.2958, allocations: 12.72 kB / 448.6 MB, free: 64.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.2961, allocations: 58.7 kB / 448.7 MB, free: 64.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.297, allocations: 260.8 kB / 449 MB, free: 64.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.3161, allocations: 11.13 MB / 460.1 MB, free: 59.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.3166, allocations: 27.5 kB / 460.1 MB, free: 59.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3167, allocations: 42.78 kB / 460.1 MB, free: 59.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1],fixedMassFlowRate.medium.phase,ambient.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 (98): * Single equations (assignments): 96 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.317, allocations: 221.5 kB / 460.4 MB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.3171, allocations: 82.08 kB / 460.4 MB, free: 59.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3182, allocations: 1.305 MB / 461.8 MB, free: 58.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.3182, allocations: 30.11 kB / 461.8 MB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3182, allocations: 0 / 461.8 MB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3182, allocations: 7.594 kB / 461.8 MB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3197, allocations: 1.832 MB / 463.6 MB, free: 57.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3197, allocations: 0 / 463.6 MB, free: 57.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.32, allocations: 163.9 kB / 463.8 MB, free: 56.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.3203, allocations: 99.28 kB / 463.9 MB, free: 56.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.3203, allocations: 13.34 kB / 463.9 MB, free: 56.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3214, allocations: 3.576 MB / 467.5 MB, free: 53.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3214, allocations: 3.812 kB / 467.5 MB, free: 53.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.3222, allocations: 1.219 MB / 468.7 MB, free: 52.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.3223, allocations: 162.8 kB / 468.8 MB, free: 51.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.3224, allocations: 29.3 kB / 468.9 MB, free: 51.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.3226, allocations: 22.25 kB / 468.9 MB, free: 51.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.3226, allocations: 34.42 kB / 468.9 MB, free: 51.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3227, allocations: 23.17 kB / 469 MB, free: 51.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.3229, allocations: 393.1 kB / 469.3 MB, free: 51.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3229, allocations: 0 / 469.3 MB, free: 51.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002736/0.3256, allocations: 1.092 MB / 470.4 MB, free: 50.71 MB / 362.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.h) * Number of discrete variables: 16 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003284/0.3289, allocations: 1.338 MB / 471.8 MB, free: 49.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009989/0.3299, allocations: 0.7242 MB / 472.5 MB, free: 49.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3299, allocations: 0 / 472.5 MB, free: 49.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.3304, allocations: 0.5049 MB / 473 MB, free: 48.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3315, allocations: 350.2 kB / 473.3 MB, free: 48.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.3336, allocations: 1.943 MB / 475.3 MB, free: 46.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.3338, allocations: 254.8 kB / 475.5 MB, free: 46.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004278/0.3342, allocations: 351.3 kB / 475.9 MB, free: 46.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.3347, allocations: 373.2 kB / 476.2 MB, free: 45.95 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3347, allocations: 0 / 476.2 MB, free: 45.95 MB / 362.7 MB Notification: Performance of Templates: time 0.07267/0.4073, allocations: 51.41 MB / 0.5153 GB, free: 10.99 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","",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.088581443764269]