Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.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.00077/0.00077, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001897, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007593/0.0007593, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001827, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9933/0.9933, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.118/1.111, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02491/0.2833, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 292.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.385e-05, allocations: 3.188 kB / 292.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02034/0.02037, allocations: 14.04 MB / 306.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02081/0.04118, allocations: 26.24 MB / 332.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.04129, allocations: 0 / 332.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.04153, allocations: 91.41 kB / 333 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0153/0.05683, allocations: 7.902 MB / 340.9 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.05756, allocations: 366.7 kB / 341.3 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003297/0.06086, allocations: 1.694 MB / 343 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.06093, allocations: 18.55 kB / 343 MB, free: 3.707 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.0614, allocations: 334.8 kB / 343.3 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.06549, allocations: 2.541 MB / 345.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.06554, allocations: 12 kB / 345.9 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01723/0.08277, allocations: 11.16 MB / 357 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.08287, allocations: 35.81 kB / 357.1 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.08305, allocations: 83.88 kB / 357.2 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.09766, allocations: 6.141 MB / 363.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.09768, allocations: 0 / 363.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09768, allocations: 0 / 363.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.09769, allocations: 0 / 363.3 MB, free: 15.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004231/0.1019, allocations: 2.083 MB / 365.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.102, allocations: 8.031 kB / 365.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.103, allocations: 375.9 kB / 365.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1032, allocations: 201.4 kB / 366 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1032, allocations: 21.03 kB / 366 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1033, allocations: 40.31 kB / 366 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.1045, allocations: 0.9004 MB / 366.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1046, allocations: 7.875 kB / 366.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1046, allocations: 15.98 kB / 366.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1046, allocations: 8 kB / 367 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1057, allocations: 0.7142 MB / 367.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1075, allocations: 1.789 MB / 369.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.1082, allocations: 393.9 kB / 369.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.1083, allocations: 52.77 kB / 369.9 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5163/0.6245, allocations: 190.7 MB / 0.5474 GB, free: 3.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000763/0.6253, allocations: 493.9 kB / 0.5479 GB, free: 3.305 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.6253, allocations: 0 / 0.5479 GB, free: 3.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.001344/0.6266, allocations: 0.7954 MB / 0.5487 GB, free: 2.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6267, allocations: 370.9 kB / 0.549 GB, free: 2.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.6268, allocations: 193.4 kB / 0.5492 GB, free: 2.016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.6268, allocations: 33.33 kB / 0.5492 GB, free: 1.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.6269, allocations: 194.3 kB / 0.5494 GB, free: 1.805 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.6269, allocations: 116.8 kB / 0.5495 GB, free: 1.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.627, allocations: 109.1 kB / 0.5496 GB, free: 1.637 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.55e-05/0.627, allocations: 333.5 kB / 0.5499 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.6271, allocations: 81.84 kB / 0.55 GB, free: 1.242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.6272, allocations: 337.7 kB / 0.5503 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.6276, allocations: 492.3 kB / 0.5508 GB, free: 284 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.6276, allocations: 4 kB / 0.5508 GB, free: 280 kB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000399/0.628, allocations: 399.1 kB / 0.5512 GB, free: 15.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.628, allocations: 13.72 kB / 0.5512 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.628, allocations: 8 kB / 0.5512 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.628, allocations: 15.94 kB / 0.5512 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.6283, allocations: 153.6 kB / 0.5514 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6283, allocations: 25.08 kB / 0.5514 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.6285, allocations: 55.31 kB / 0.5515 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.6285, allocations: 40.5 kB / 0.5515 GB, free: 15.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.6286, allocations: 149.2 kB / 0.5516 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.6287, allocations: 30.59 kB / 0.5517 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.6297, allocations: 1.419 MB / 0.5531 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.6297, allocations: 23.48 kB / 0.5531 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6297, allocations: 4 kB / 0.5531 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6297, allocations: 3.984 kB / 0.5531 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.6302, allocations: 0.5513 MB / 0.5536 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6302, allocations: 4.375 kB / 0.5536 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.6304, allocations: 86.98 kB / 0.5537 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.6304, allocations: 50.23 kB / 0.5538 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6304, allocations: 4 kB / 0.5538 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6304, allocations: 11.86 kB / 0.5538 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.6304, allocations: 11.94 kB / 0.5538 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6304, allocations: 4.531 kB / 0.5538 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.6308, allocations: 498.4 kB / 0.5543 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.6309, allocations: 110.9 kB / 0.5544 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.6311, allocations: 25.53 kB / 0.5544 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.6311, allocations: 37.02 kB / 0.5544 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.6311, allocations: 9.438 kB / 0.5544 GB, free: 13.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.6314, allocations: 342.1 kB / 0.5548 GB, free: 12.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6314, allocations: 0 / 0.5548 GB, free: 12.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003391/0.6348, allocations: 1.528 MB / 0.5563 GB, free: 11.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004607/0.6394, allocations: 2.119 MB / 0.5583 GB, free: 9.359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.6398, allocations: 307 kB / 0.5586 GB, free: 9.121 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.271e-05/0.6398, allocations: 12 kB / 0.5586 GB, free: 9.109 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.6399, allocations: 141.8 kB / 0.5588 GB, free: 8.996 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.6404, allocations: 322 kB / 0.5591 GB, free: 8.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.119/1.759, allocations: 0.5999 GB / 1.159 GB, free: 139.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.687e-05/1.759, allocations: 170.5 kB / 1.159 GB, free: 139.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004142/1.76, allocations: 0.5275 MB / 1.16 GB, free: 139.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/1.76, allocations: 151.9 kB / 1.16 GB, free: 139.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/1.76, allocations: 4 kB / 1.16 GB, free: 139.1 MB / 474.7 MB Notification: Performance of Templates: time 0.04398/1.804, allocations: 65.2 MB / 1.223 GB, free: 77.77 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_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: 7.149100321345031]