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.0009477/0.0009477, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001059/0.001059, allocations: 169 kB / 24.82 MB, free: 9.266 MB / 18.57 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 1.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.3178/0.3178, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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 2.495e-06/2.495e-06, allocations: 0 / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.228e-05, allocations: 5.125 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01655/0.0166, allocations: 13.83 MB / 392.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.03982, allocations: 25.75 MB / 418.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.04004, allocations: 3.938 kB / 418.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.04046, allocations: 91.36 kB / 418.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02321/0.06368, allocations: 8.674 MB / 426.9 MB, free: 1.816 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.06469, allocations: 362.7 kB / 427.2 MB, free: 1.461 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003183/0.06788, allocations: 2.056 MB / 429.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.503e-05/0.06795, allocations: 20.59 kB / 429.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/0.06854, allocations: 326.8 kB / 429.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.07224, allocations: 3.27 MB / 432.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.07228, allocations: 12 kB / 432.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.0917, allocations: 10.36 MB / 443.3 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.0918, allocations: 55.69 kB / 443.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.09194, allocations: 103.8 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.243/0.3349, allocations: 7.984 MB / 451.4 MB, free: 61.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3349, allocations: 0 / 451.4 MB, free: 61.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3349, allocations: 1.625 kB / 451.4 MB, free: 61.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3349, allocations: 0 / 451.4 MB, free: 61.86 MB / 410.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.00442/0.3393, allocations: 1.624 MB / 453 MB, free: 60.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3394, allocations: 11.28 kB / 453.1 MB, free: 60.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3405, allocations: 343.3 kB / 453.4 MB, free: 60.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3408, allocations: 223.9 kB / 453.6 MB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3408, allocations: 26.88 kB / 453.6 MB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3408, allocations: 32.28 kB / 453.7 MB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.3422, allocations: 0.9136 MB / 454.6 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3422, allocations: 5.625 kB / 454.6 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3422, allocations: 17.67 kB / 454.6 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3422, allocations: 10.81 kB / 454.6 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3434, allocations: 0.7593 MB / 455.4 MB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.3452, allocations: 2.429 MB / 457.8 MB, free: 58.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.3459, allocations: 395.7 kB / 458.2 MB, free: 58.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.346, allocations: 64.83 kB / 458.3 MB, free: 58.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2585/0.6045, allocations: 141.9 MB / 0.5861 GB, free: 3.738 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.6059, allocations: 0.5235 MB / 0.5866 GB, free: 3.164 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 3.146e-06/0.6059, allocations: 0 / 0.5866 GB, free: 3.164 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001763/0.6076, allocations: 0.8307 MB / 0.5874 GB, free: 2.352 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.6078, allocations: 379.1 kB / 0.5878 GB, free: 1.898 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.6079, allocations: 254.3 kB / 0.588 GB, free: 1.656 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.608, allocations: 39.44 kB / 0.5881 GB, free: 1.613 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6081, allocations: 240.2 kB / 0.5883 GB, free: 1.383 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.6081, allocations: 118 kB / 0.5884 GB, free: 1.277 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.6083, allocations: 134.3 kB / 0.5885 GB, free: 1.148 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6084, allocations: 0.5103 MB / 0.589 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.6085, allocations: 76.91 kB / 0.5891 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.6088, allocations: 470.2 kB / 0.5896 GB, free: 15.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.6093, allocations: 0.5972 MB / 0.5901 GB, free: 15.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6093, allocations: 4 kB / 0.5901 GB, free: 15.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006803/0.61, allocations: 498.3 kB / 0.5906 GB, free: 14.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.61, allocations: 8.625 kB / 0.5906 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.6101, allocations: 12 kB / 0.5906 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/0.6101, allocations: 19.92 kB / 0.5907 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.6104, allocations: 142.7 kB / 0.5908 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.6105, allocations: 19.45 kB / 0.5908 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.6107, allocations: 53.34 kB / 0.5909 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.6108, allocations: 39.98 kB / 0.5909 GB, free: 14.52 MB / 474.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.0001685/0.6109, allocations: 204.9 kB / 0.5911 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.611, allocations: 42.86 kB / 0.5911 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.6125, allocations: 1.434 MB / 0.5925 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.6126, allocations: 23.91 kB / 0.5926 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6126, allocations: 4 kB / 0.5926 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.6126, allocations: 7.984 kB / 0.5926 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007386/0.6133, allocations: 0.6223 MB / 0.5932 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.6133, allocations: 7.984 kB / 0.5932 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.6135, allocations: 67.88 kB / 0.5933 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.6135, allocations: 8 kB / 0.5933 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.6136, allocations: 12 kB / 0.5933 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6136, allocations: 5.969 kB / 0.5933 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.6136, allocations: 11.73 kB / 0.5933 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.615, allocations: 0.5936 MB / 0.5939 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.6151, allocations: 51.5 kB / 0.5939 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6152, allocations: 107 kB / 0.594 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.6154, allocations: 15.98 kB / 0.594 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.6154, allocations: 38.98 kB / 0.5941 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.6154, allocations: 16 kB / 0.5941 GB, free: 11.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004495/0.6159, allocations: 0.4948 MB / 0.5946 GB, free: 10.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6159, allocations: 0 / 0.5946 GB, free: 10.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005432/0.6213, allocations: 1.528 MB / 0.5961 GB, free: 9.305 MB / 474.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.0056/0.6269, allocations: 2.001 MB / 0.598 GB, free: 7.441 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005266/0.6274, allocations: 338.6 kB / 0.5983 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6275, allocations: 0 / 0.5983 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.6276, allocations: 159.1 kB / 0.5985 GB, free: 7.004 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.6284, allocations: 235.6 kB / 0.5987 GB, free: 6.777 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.4/2.028, allocations: 0.6089 GB / 1.208 GB, free: 100.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/2.028, allocations: 175.8 kB / 1.208 GB, free: 100.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005614/2.029, allocations: 0.525 MB / 1.208 GB, free: 99.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/2.029, allocations: 190.1 kB / 1.208 GB, free: 99.76 MB / 474.7 MB Notification: Performance of SimCode: time 2.264e-06/2.029, allocations: 5.312 kB / 1.208 GB, free: 99.76 MB / 474.7 MB Notification: Performance of Templates: time 0.05225/2.081, allocations: 66.33 MB / 1.273 GB, free: 33.71 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 -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: 8.298023253679276]