Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00131/0.00131, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.001685/0.001685, allocations: 169 kB / 24.14 MB, free: 360 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.9535/0.9535, allocations: 158.6 MB / 186 MB, free: 2.766 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.1365/0.1365, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.517e-05, allocations: 10.25 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2043/0.2043, allocations: 13.82 MB / 312.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.224, allocations: 26.1 MB / 339 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.2242, allocations: 4 kB / 339 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.2246, allocations: 99.28 kB / 339.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02007/0.2446, allocations: 8.697 MB / 347.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.2454, allocations: 370.7 kB / 348.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.2486, allocations: 2.056 MB / 350.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/0.2487, allocations: 14.56 kB / 350.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.2492, allocations: 322.8 kB / 350.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004231/0.2535, allocations: 3.285 MB / 353.9 MB, free: 7.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.2535, allocations: 8 kB / 353.9 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01518/0.2687, allocations: 10.34 MB / 364.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.2688, allocations: 55.75 kB / 364.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.2689, allocations: 99.77 kB / 364.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.2846, allocations: 7.959 MB / 372.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2846, allocations: 0 / 372.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2846, allocations: 0 / 372.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2846, allocations: 0 / 372.3 MB, free: 4.84 MB / 330.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.003684/0.2883, allocations: 1.527 MB / 373.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2883, allocations: 8.031 kB / 373.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.2894, allocations: 376.5 kB / 374.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.2897, allocations: 197.3 kB / 374.4 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2897, allocations: 25.03 kB / 374.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.2897, allocations: 36.38 kB / 374.5 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.291, allocations: 0.894 MB / 375.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.291, allocations: 3.938 kB / 375.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.291, allocations: 16 kB / 375.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2911, allocations: 8.812 kB / 375.4 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.2921, allocations: 0.7119 MB / 376.1 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.294, allocations: 1.8 MB / 377.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.2947, allocations: 388.8 kB / 378.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.2947, allocations: 56.69 kB / 378.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4958/0.7905, allocations: 189.9 MB / 0.5549 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.7913, allocations: 484.4 kB / 0.5554 GB, free: 16.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.674e-06/0.7913, allocations: 0 / 0.5554 GB, free: 16.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.00139/0.7927, allocations: 0.8012 MB / 0.5562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.7927, allocations: 371.5 kB / 0.5565 GB, free: 15.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.7928, allocations: 191 kB / 0.5567 GB, free: 15.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.7928, allocations: 33.52 kB / 0.5567 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.7929, allocations: 190.1 kB / 0.5569 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.7929, allocations: 120.7 kB / 0.557 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.793, allocations: 108.9 kB / 0.5571 GB, free: 14.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.793, allocations: 334.4 kB / 0.5575 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.7931, allocations: 76.47 kB / 0.5575 GB, free: 14.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.7933, allocations: 345.1 kB / 0.5579 GB, free: 13.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.7935, allocations: 479.6 kB / 0.5583 GB, free: 13.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7936, allocations: 4 kB / 0.5583 GB, free: 13.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003388/0.7939, allocations: 398.2 kB / 0.5587 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7939, allocations: 8 kB / 0.5587 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7939, allocations: 8 kB / 0.5587 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.7939, allocations: 12 kB / 0.5587 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.7942, allocations: 132.5 kB / 0.5589 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.7942, allocations: 24.39 kB / 0.5589 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.7943, allocations: 55.38 kB / 0.5589 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.7944, allocations: 32.98 kB / 0.559 GB, free: 12.88 MB / 410.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.0001139/0.7945, allocations: 156.6 kB / 0.5591 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.7945, allocations: 27.67 kB / 0.5591 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009557/0.7955, allocations: 1.438 MB / 0.5605 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.7955, allocations: 15.11 kB / 0.5606 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7955, allocations: 7.906 kB / 0.5606 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.7955, allocations: 12.3 kB / 0.5606 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.796, allocations: 0.5606 MB / 0.5611 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.796, allocations: 0 / 0.5611 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.7962, allocations: 71.09 kB / 0.5612 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.7962, allocations: 8 kB / 0.5612 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.7962, allocations: 12.8 kB / 0.5612 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.7962, allocations: 7.281 kB / 0.5612 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7962, allocations: 4 kB / 0.5612 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.7966, allocations: 497.8 kB / 0.5617 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.7967, allocations: 55.52 kB / 0.5617 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.7967, allocations: 115.3 kB / 0.5619 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.7969, allocations: 15.67 kB / 0.5619 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.7969, allocations: 32.7 kB / 0.5619 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.7969, allocations: 9.562 kB / 0.5619 GB, free: 10.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.7972, allocations: 341.2 kB / 0.5622 GB, free: 9.898 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7972, allocations: 0 / 0.5622 GB, free: 9.898 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003645/0.8008, allocations: 1.521 MB / 0.5637 GB, free: 8.441 MB / 410.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.0051/0.8059, allocations: 2.059 MB / 0.5657 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.8064, allocations: 299.8 kB / 0.566 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/0.8064, allocations: 12 kB / 0.566 GB, free: 6.316 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.8065, allocations: 143.7 kB / 0.5662 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.807, allocations: 198.6 kB / 0.5664 GB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.095/1.902, allocations: 0.5975 GB / 1.164 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.913e-05/1.902, allocations: 175.8 kB / 1.164 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005405/1.903, allocations: 0.5267 MB / 1.165 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.903, allocations: 155.3 kB / 1.165 GB, free: 102.5 MB / 442.7 MB Notification: Performance of SimCode: time 7.604e-06/1.903, allocations: 0 / 1.165 GB, free: 102.5 MB / 442.7 MB Notification: Performance of Templates: time 0.05384/1.957, allocations: 64.8 MB / 1.228 GB, free: 37.84 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.361648051999509]