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.001025/0.001025, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009683/0.0009683, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.9728/0.9728, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2625/0.2625, 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 1.522e-06/1.522e-06, allocations: 3.938 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.555e-05, allocations: 2.969 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02679/0.0268, allocations: 13.97 MB / 337.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.04837, allocations: 26.11 MB / 363.4 MB, free: 1.367 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.0485, allocations: 4 kB / 363.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.04881, allocations: 91.36 kB / 363.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.06463, allocations: 7.932 MB / 371.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.06526, allocations: 354.8 kB / 371.8 MB, free: 8.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.06752, allocations: 2.055 MB / 373.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.06757, allocations: 14.56 kB / 373.8 MB, free: 6.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.06797, allocations: 330.8 kB / 374.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/0.07131, allocations: 3.281 MB / 377.5 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.07134, allocations: 12 kB / 377.5 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.08619, allocations: 11.14 MB / 388.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.08625, allocations: 47.77 kB / 388.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.08634, allocations: 107.8 kB / 388.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.09695, allocations: 7.986 MB / 396.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.09695, allocations: 4 kB / 396.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09695, allocations: 0 / 396.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.09696, allocations: 0 / 396.8 MB, free: 15.88 MB / 378.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.003491/0.1004, allocations: 1.523 MB / 398.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1005, allocations: 16.03 kB / 398.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.1016, allocations: 376 kB / 398.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1018, allocations: 201.3 kB / 398.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1019, allocations: 25.03 kB / 398.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1019, allocations: 32.38 kB / 398.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.1032, allocations: 0.8899 MB / 399.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1032, allocations: 7.938 kB / 399.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1032, allocations: 12 kB / 399.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1032, allocations: 15.94 kB / 399.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.1044, allocations: 0.7245 MB / 400.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1059, allocations: 1.785 MB / 402.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.1066, allocations: 389.9 kB / 402.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.1067, allocations: 52.78 kB / 402.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.486/0.5927, allocations: 190.6 MB / 0.5795 GB, free: 9.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009045/0.5936, allocations: 480.6 kB / 0.58 GB, free: 8.957 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.033e-06/0.5936, allocations: 4 kB / 0.58 GB, free: 8.953 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001629/0.5952, allocations: 0.7949 MB / 0.5807 GB, free: 8.285 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5953, allocations: 377.7 kB / 0.5811 GB, free: 7.836 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5954, allocations: 195.2 kB / 0.5813 GB, free: 7.664 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5954, allocations: 39.48 kB / 0.5813 GB, free: 7.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.5955, allocations: 183.5 kB / 0.5815 GB, free: 7.449 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.5956, allocations: 123.1 kB / 0.5816 GB, free: 7.352 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5957, allocations: 107.9 kB / 0.5817 GB, free: 7.277 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.5958, allocations: 339.1 kB / 0.582 GB, free: 6.949 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.5958, allocations: 72.91 kB / 0.5821 GB, free: 6.883 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.596, allocations: 335.6 kB / 0.5824 GB, free: 6.449 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.5964, allocations: 0.4934 MB / 0.5829 GB, free: 5.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5964, allocations: 4 kB / 0.5829 GB, free: 5.906 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000366/0.5968, allocations: 387 kB / 0.5833 GB, free: 5.609 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5968, allocations: 13.64 kB / 0.5833 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5968, allocations: 12.16 kB / 0.5833 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5968, allocations: 12 kB / 0.5833 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.5971, allocations: 141.9 kB / 0.5835 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.5971, allocations: 19.45 kB / 0.5835 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.5972, allocations: 53.2 kB / 0.5835 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.5972, allocations: 27.23 kB / 0.5836 GB, free: 5.387 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.0001121/0.5974, allocations: 161.8 kB / 0.5837 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.5974, allocations: 31.72 kB / 0.5837 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009931/0.5984, allocations: 1.424 MB / 0.5851 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.5984, allocations: 18.41 kB / 0.5851 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5984, allocations: 4 kB / 0.5851 GB, free: 3.969 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5984, allocations: 3.984 kB / 0.5852 GB, free: 3.965 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.5989, allocations: 0.5587 MB / 0.5857 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5989, allocations: 10.94 kB / 0.5857 GB, free: 3.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.599, allocations: 79.3 kB / 0.5858 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5991, allocations: 4 kB / 0.5858 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.5991, allocations: 8 kB / 0.5858 GB, free: 3.395 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.5991, allocations: 4 kB / 0.5858 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5991, allocations: 7.094 kB / 0.5858 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.5995, allocations: 0.4921 MB / 0.5863 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.5995, allocations: 53.38 kB / 0.5863 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/0.5996, allocations: 107 kB / 0.5864 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.5998, allocations: 19.98 kB / 0.5865 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5998, allocations: 35.27 kB / 0.5865 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.5998, allocations: 14.67 kB / 0.5865 GB, free: 2.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003363/0.6002, allocations: 338.6 kB / 0.5868 GB, free: 2.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6002, allocations: 0 / 0.5868 GB, free: 2.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003483/0.6036, allocations: 1.532 MB / 0.5883 GB, free: 0.7852 MB / 458.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.004827/0.6085, allocations: 2.076 MB / 0.5904 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.6089, allocations: 304.4 kB / 0.5906 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/0.6089, allocations: 8 kB / 0.5906 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.609, allocations: 151.9 kB / 0.5908 GB, free: 14.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.6096, allocations: 202.2 kB / 0.591 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.095/1.705, allocations: 0.5999 GB / 1.191 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.059e-05/1.705, allocations: 168.7 kB / 1.191 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004561/1.705, allocations: 0.5195 MB / 1.192 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/1.706, allocations: 155.3 kB / 1.192 GB, free: 125.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/1.706, allocations: 0 / 1.192 GB, free: 125.8 MB / 474.7 MB Notification: Performance of Templates: time 0.06471/1.77, allocations: 65.03 MB / 1.255 GB, free: 61.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 -s gbode -gbm=radauIIA3 -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.3736163773573935]