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.0009051/0.0009051, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.000913/0.000913, allocations: 168.5 kB / 25.61 MB, free: 8.879 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 0.9193/0.9193, allocations: 177.2 MB / 206.1 MB, free: 4.504 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.1631/0.1631, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.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.014e-06/2.014e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.831e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01056/0.01058, allocations: 13.82 MB / 391.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.03045, allocations: 25.76 MB / 416.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.03061, allocations: 0 / 416.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.03093, allocations: 95.3 kB / 417 MB, free: 1.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01964/0.05058, allocations: 8.678 MB / 425.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.05144, allocations: 362.7 kB / 426 MB, free: 8.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.0549, allocations: 2.052 MB / 428.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.05497, allocations: 8.594 kB / 428.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.05552, allocations: 326.8 kB / 428.4 MB, free: 6.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005082/0.0606, allocations: 3.278 MB / 431.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.06063, allocations: 12 kB / 431.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.018/0.07863, allocations: 10.36 MB / 442.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.23e-05/0.07871, allocations: 59.73 kB / 442.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.07884, allocations: 99.78 kB / 442.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.09187, allocations: 7.986 MB / 450.2 MB, free: 408 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.09187, allocations: 4 kB / 450.2 MB, free: 404 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09187, allocations: 0 / 450.2 MB, free: 404 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.09188, allocations: 0 / 450.2 MB, free: 404 kB / 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.003965/0.09584, allocations: 1.621 MB / 451.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.09588, allocations: 15.98 kB / 451.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.09742, allocations: 343.8 kB / 452.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.09773, allocations: 216.2 kB / 452.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.09776, allocations: 25.03 kB / 452.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.09781, allocations: 36.36 kB / 452.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.09958, allocations: 0.9095 MB / 453.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.0996, allocations: 7.938 kB / 453.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.09963, allocations: 16 kB / 453.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.09964, allocations: 8 kB / 453.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.1014, allocations: 0.7634 MB / 454.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.1036, allocations: 2.442 MB / 456.6 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/0.1046, allocations: 394.5 kB / 457 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.1047, allocations: 59.64 kB / 457 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4662/0.5708, allocations: 141.2 MB / 0.5842 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008506/0.5717, allocations: 0.5146 MB / 0.5847 GB, free: 9.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.5717, allocations: 0 / 0.5847 GB, free: 9.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001574/0.5733, allocations: 0.8405 MB / 0.5856 GB, free: 8.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.5733, allocations: 371.5 kB / 0.5859 GB, free: 7.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.5734, allocations: 266.2 kB / 0.5862 GB, free: 7.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5734, allocations: 33.83 kB / 0.5862 GB, free: 7.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.5735, allocations: 236.6 kB / 0.5864 GB, free: 7.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.5735, allocations: 115.9 kB / 0.5865 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.5736, allocations: 141.9 kB / 0.5867 GB, free: 7.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.5737, allocations: 0.5117 MB / 0.5872 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.5738, allocations: 80.72 kB / 0.5872 GB, free: 6.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.574, allocations: 468.4 kB / 0.5877 GB, free: 6.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.5743, allocations: 0.5945 MB / 0.5883 GB, free: 5.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5743, allocations: 0 / 0.5883 GB, free: 5.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005107/0.5748, allocations: 0.4909 MB / 0.5888 GB, free: 5.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5748, allocations: 8 kB / 0.5888 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5748, allocations: 8 kB / 0.5888 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5749, allocations: 15.98 kB / 0.5888 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.5751, allocations: 140.2 kB / 0.5889 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5751, allocations: 22.7 kB / 0.5889 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.5753, allocations: 59.19 kB / 0.589 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.5753, allocations: 35.73 kB / 0.589 GB, free: 4.773 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 9.986e-05/0.5754, allocations: 200.6 kB / 0.5892 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.5755, allocations: 34.88 kB / 0.5893 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.5764, allocations: 1.434 MB / 0.5907 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5764, allocations: 15.55 kB / 0.5907 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5764, allocations: 7.562 kB / 0.5907 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5764, allocations: 15.64 kB / 0.5907 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.5768, allocations: 0.6306 MB / 0.5913 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5768, allocations: 4 kB / 0.5913 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.577, allocations: 69.38 kB / 0.5914 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.577, allocations: 8.875 kB / 0.5914 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.577, allocations: 11.94 kB / 0.5914 GB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.577, allocations: 7.984 kB / 0.5914 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.577, allocations: 7.094 kB / 0.5914 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.5774, allocations: 0.5935 MB / 0.592 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.5774, allocations: 53.88 kB / 0.592 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/0.5775, allocations: 107.7 kB / 0.5921 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.5777, allocations: 19.23 kB / 0.5922 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.5777, allocations: 39.55 kB / 0.5922 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5777, allocations: 11.38 kB / 0.5922 GB, free: 1.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002591/0.578, allocations: 0.4991 MB / 0.5927 GB, free: 1.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.578, allocations: 0 / 0.5927 GB, free: 1.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002811/0.5808, allocations: 1.523 MB / 0.5942 GB, free: 16 kB / 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.004599/0.5854, allocations: 2.01 MB / 0.5961 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.5858, allocations: 322.3 kB / 0.5965 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5858, allocations: 0 / 0.5965 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.5859, allocations: 165.4 kB / 0.5966 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.5865, allocations: 228.5 kB / 0.5968 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.104/1.69, allocations: 0.6089 GB / 1.206 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.946e-05/1.69, allocations: 173.9 kB / 1.206 GB, free: 144.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004982/1.691, allocations: 0.5279 MB / 1.206 GB, free: 144.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.691, allocations: 192.6 kB / 1.207 GB, free: 144.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/1.691, allocations: 0 / 1.207 GB, free: 144.7 MB / 474.7 MB Notification: Performance of Templates: time 0.04977/1.741, allocations: 66.49 MB / 1.272 GB, free: 91.81 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: 8.414457538165152]