Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001028/0.001028, allocations: 77.88 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.001089/0.001089, allocations: 170.4 kB / 24.82 MB, free: 9.27 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.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3336/0.3336, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.253e-05, allocations: 2.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02311/0.02315, allocations: 13.83 MB / 390.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03317/0.05632, allocations: 25.76 MB / 416.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.05668, allocations: 0 / 416.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.05716, allocations: 87.42 kB / 416.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0247/0.08186, allocations: 8.674 MB / 424.9 MB, free: 3.832 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000909/0.08277, allocations: 358.7 kB / 425.2 MB, free: 3.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003066/0.08583, allocations: 2.056 MB / 427.3 MB, free: 1.398 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.0859, allocations: 16.59 kB / 427.3 MB, free: 1.387 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006535/0.08656, allocations: 322.9 kB / 427.6 MB, free: 1.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.0904, allocations: 3.275 MB / 430.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.09046, allocations: 16 kB / 430.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/0.1103, allocations: 10.37 MB / 441.3 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1104, allocations: 47.77 kB / 441.3 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.1107, allocations: 107.8 kB / 441.4 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2497/0.3603, allocations: 7.981 MB / 449.4 MB, free: 64.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3603, allocations: 6.344 kB / 449.4 MB, free: 64.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3603, allocations: 0 / 449.4 MB, free: 64.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3603, allocations: 0 / 449.4 MB, free: 64.54 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.004137/0.3645, allocations: 1.624 MB / 451 MB, free: 63.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3645, allocations: 8.719 kB / 451 MB, free: 63.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3655, allocations: 341.5 kB / 451.4 MB, free: 63.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.3658, allocations: 218.7 kB / 451.6 MB, free: 63.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.3658, allocations: 25.31 kB / 451.6 MB, free: 63.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.3659, allocations: 33.69 kB / 451.7 MB, free: 63.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.3672, allocations: 0.9131 MB / 452.6 MB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3672, allocations: 3.562 kB / 452.6 MB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.3672, allocations: 22.06 kB / 452.6 MB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3672, allocations: 9.969 kB / 452.6 MB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3683, allocations: 0.755 MB / 453.4 MB, free: 63.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.37, allocations: 2.43 MB / 455.8 MB, free: 61.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.3708, allocations: 399.7 kB / 456.2 MB, free: 61.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.3709, allocations: 63.67 kB / 456.2 MB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2943/0.6652, allocations: 141.9 MB / 0.5841 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.6663, allocations: 0.5205 MB / 0.5846 GB, free: 7.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.6663, allocations: 0 / 0.5846 GB, free: 7.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001854/0.6682, allocations: 0.8383 MB / 0.5855 GB, free: 6.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.6683, allocations: 383.3 kB / 0.5858 GB, free: 5.953 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.6685, allocations: 250 kB / 0.5861 GB, free: 5.715 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.6685, allocations: 33.7 kB / 0.5861 GB, free: 5.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.6687, allocations: 249.4 kB / 0.5863 GB, free: 5.438 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/0.6687, allocations: 116.2 kB / 0.5864 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005077/0.6692, allocations: 134.1 kB / 0.5866 GB, free: 5.203 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6694, allocations: 0.5017 MB / 0.5871 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.6695, allocations: 84.89 kB / 0.5871 GB, free: 4.617 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.6698, allocations: 473.5 kB / 0.5876 GB, free: 3.996 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.6703, allocations: 0.5932 MB / 0.5882 GB, free: 3.277 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.6703, allocations: 4 kB / 0.5882 GB, free: 3.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005785/0.6709, allocations: 0.4897 MB / 0.5887 GB, free: 2.844 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.6709, allocations: 8 kB / 0.5887 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6709, allocations: 8 kB / 0.5887 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.671, allocations: 19.94 kB / 0.5887 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.6712, allocations: 142.4 kB / 0.5888 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.6712, allocations: 15.38 kB / 0.5888 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.6714, allocations: 57.62 kB / 0.5889 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.6715, allocations: 39.98 kB / 0.5889 GB, free: 2.574 MB / 458.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.0001613/0.6716, allocations: 190.5 kB / 0.5891 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.6717, allocations: 39.84 kB / 0.5892 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.673, allocations: 1.445 MB / 0.5906 GB, free: 0.957 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.673, allocations: 23.91 kB / 0.5906 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.673, allocations: 4 kB / 0.5906 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.673, allocations: 4.375 kB / 0.5906 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.6736, allocations: 0.6284 MB / 0.5912 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.6736, allocations: 0 / 0.5912 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6737, allocations: 82.89 kB / 0.5913 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.6737, allocations: 4 kB / 0.5913 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.6738, allocations: 8 kB / 0.5913 GB, free: 248 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.6738, allocations: 7.281 kB / 0.5913 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6738, allocations: 4 kB / 0.5913 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.6744, allocations: 0.6007 MB / 0.5919 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.6745, allocations: 54.17 kB / 0.5919 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.6745, allocations: 115 kB / 0.5921 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6747, allocations: 12 kB / 0.5921 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.6747, allocations: 34.98 kB / 0.5921 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.6748, allocations: 19.98 kB / 0.5921 GB, free: 15.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.6751, allocations: 0.493 MB / 0.5926 GB, free: 14.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6751, allocations: 0 / 0.5926 GB, free: 14.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006423/0.6815, allocations: 1.528 MB / 0.5941 GB, free: 13.35 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.01146/0.693, allocations: 1.995 MB / 0.596 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008715/0.6939, allocations: 333.9 kB / 0.5964 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.6939, allocations: 4 kB / 0.5964 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.6941, allocations: 159.5 kB / 0.5965 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.6949, allocations: 238.1 kB / 0.5967 GB, free: 10.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.261/1.956, allocations: 0.6089 GB / 1.206 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/1.956, allocations: 177.6 kB / 1.206 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004855/1.957, allocations: 0.5181 MB / 1.206 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/1.957, allocations: 200.6 kB / 1.206 GB, free: 111 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/1.957, allocations: 0 / 1.206 GB, free: 111 MB / 474.7 MB Notification: Performance of Templates: time 0.05101/2.008, allocations: 66.34 MB / 1.271 GB, free: 46.03 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.884635719936341]