Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001944/0.001944, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.3 MB / 258 MB, free: 8.184 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2358/0.2358, allocations: 46.94 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 87.86 kB / 0.4972 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3516, allocations: 66.05 MB / 0.5617 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0178/0.3694, allocations: 14.04 MB / 0.5754 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03532/0.4048, allocations: 26.77 MB / 0.6016 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.405, allocations: 0 / 0.6016 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.4054, allocations: 103.4 kB / 0.6017 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02533/0.4308, allocations: 8.56 MB / 0.61 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.4319, allocations: 357.3 kB / 0.6104 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004251/0.4361, allocations: 2.013 MB / 0.6123 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.4362, allocations: 12.53 kB / 0.6123 GB, free: 492 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.4367, allocations: 282.9 kB / 0.6126 GB, free: 208 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006354/0.443, allocations: 3.274 MB / 0.6158 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.4431, allocations: 12 kB / 0.6158 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02103/0.4641, allocations: 10.86 MB / 0.6264 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.4642, allocations: 51.77 kB / 0.6265 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.4645, allocations: 139.4 kB / 0.6266 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.4833, allocations: 6.341 MB / 0.6328 GB, free: 11.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.4833, allocations: 3.984 kB / 0.6328 GB, free: 11.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4833, allocations: 0 / 0.6328 GB, free: 11.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.4833, allocations: 0 / 0.6328 GB, free: 11.44 MB / 478.1 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.005131/0.4884, allocations: 1.537 MB / 0.6343 GB, free: 9.867 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4885, allocations: 11.97 kB / 0.6343 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.4902, allocations: 220.5 kB / 0.6345 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.4905, allocations: 218.1 kB / 0.6347 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.4906, allocations: 21.03 kB / 0.6348 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.4906, allocations: 40.12 kB / 0.6348 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.4931, allocations: 0.8252 MB / 0.6356 GB, free: 8.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4931, allocations: 3.938 kB / 0.6356 GB, free: 8.469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.4931, allocations: 12 kB / 0.6356 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.4931, allocations: 8 kB / 0.6356 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.4956, allocations: 0.9352 MB / 0.6365 GB, free: 7.516 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.499, allocations: 2.304 MB / 0.6388 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.5004, allocations: 370.2 kB / 0.6391 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.5006, allocations: 68.81 kB / 0.6392 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.884/1.385, allocations: 160.4 MB / 0.7958 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/1.386, allocations: 479.5 kB / 0.7963 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.755e-06/1.386, allocations: 0 / 0.7963 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003055/1.389, allocations: 0.7826 MB / 0.7971 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/1.389, allocations: 375.7 kB / 0.7974 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/1.389, allocations: 182.9 kB / 0.7976 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/1.389, allocations: 29.7 kB / 0.7976 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/1.389, allocations: 187.5 kB / 0.7978 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/1.389, allocations: 119.8 kB / 0.7979 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.39, allocations: 130.2 kB / 0.798 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.616e-05/1.39, allocations: 334.4 kB / 0.7984 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.39, allocations: 80.94 kB / 0.7984 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/1.39, allocations: 340.1 kB / 0.7988 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/1.391, allocations: 482.6 kB / 0.7992 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.391, allocations: 0 / 0.7992 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008546/1.392, allocations: 480.4 kB / 0.7997 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.392, allocations: 8 kB / 0.7997 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.392, allocations: 8 kB / 0.7997 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.392, allocations: 12 kB / 0.7997 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/1.392, allocations: 145.7 kB / 0.7998 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/1.392, allocations: 15.94 kB / 0.7999 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/1.392, allocations: 59.19 kB / 0.7999 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/1.392, allocations: 43.98 kB / 0.8 GB, free: 112.1 MB / 0.5606 GB 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,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.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.0001527/1.393, allocations: 158.3 kB / 0.8001 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/1.393, allocations: 31.84 kB / 0.8001 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/1.395, allocations: 2.754 MB / 0.8028 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.395, allocations: 19.97 kB / 0.8028 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.395, allocations: 4 kB / 0.8028 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.395, allocations: 7.844 kB / 0.8029 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/1.396, allocations: 0.9338 MB / 0.8038 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/1.396, allocations: 0 / 0.8038 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/1.396, allocations: 79.8 kB / 0.8038 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.396, allocations: 4 kB / 0.8038 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/1.396, allocations: 16 kB / 0.8039 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.396, allocations: 4 kB / 0.8039 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.396, allocations: 4 kB / 0.8039 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/1.397, allocations: 0.7243 MB / 0.8046 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/1.397, allocations: 48 kB / 0.8046 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/1.397, allocations: 112 kB / 0.8047 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/1.398, allocations: 19.98 kB / 0.8047 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/1.398, allocations: 39.58 kB / 0.8048 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/1.398, allocations: 16 kB / 0.8048 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005264/1.398, allocations: 0.504 MB / 0.8053 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.398, allocations: 0 / 0.8053 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004553/1.403, allocations: 1.524 MB / 0.8068 GB, free: 105.1 MB / 0.5606 GB 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.008061/1.411, allocations: 1.739 MB / 0.8085 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009432/1.412, allocations: 427.9 kB / 0.8089 GB, free: 103 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.412, allocations: 0 / 0.8089 GB, free: 103 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/1.412, allocations: 233.5 kB / 0.8091 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/1.413, allocations: 137.3 kB / 0.8092 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.325/2.738, allocations: 0.6026 GB / 1.412 GB, free: 57.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/2.739, allocations: 0.9856 MB / 1.413 GB, free: 56.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008964/2.74, allocations: 0.5283 MB / 1.413 GB, free: 55.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/2.74, allocations: 67.23 kB / 1.413 GB, free: 55.89 MB / 0.6387 GB Notification: Performance of SimCode: time 1.463e-06/2.74, allocations: 0 / 1.413 GB, free: 55.89 MB / 0.6387 GB Notification: Performance of Templates: time 0.325/3.065, allocations: 56.26 MB / 1.468 GB, free: 240.1 MB / 0.6387 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.969092673622072]