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.001211/0.001211, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001361/0.001361, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.526/1.526, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2378/0.2378, allocations: 46.88 MB / 361.1 MB, free: 4.641 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.002442/0.002442, allocations: 83.86 kB / 0.4968 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4113, allocations: 66 MB / 0.5613 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02045/0.4317, allocations: 14.04 MB / 0.575 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03794/0.4697, allocations: 26.76 MB / 0.6011 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.47, allocations: 0 / 0.6011 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.4705, allocations: 107.4 kB / 0.6012 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02697/0.4975, allocations: 8.544 MB / 0.6095 GB, free: 3.406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.4986, allocations: 345.4 kB / 0.6099 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00501/0.5036, allocations: 2.006 MB / 0.6118 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.5037, allocations: 16.34 kB / 0.6118 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005847/0.5043, allocations: 282.7 kB / 0.6121 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007254/0.5115, allocations: 3.274 MB / 0.6153 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.5116, allocations: 12 kB / 0.6153 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02371/0.5353, allocations: 10.85 MB / 0.6259 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.5354, allocations: 47.81 kB / 0.626 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.5357, allocations: 139.3 kB / 0.6261 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01846/0.5542, allocations: 6.341 MB / 0.6323 GB, free: 12.01 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5542, allocations: 0 / 0.6323 GB, free: 12.01 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5542, allocations: 0 / 0.6323 GB, free: 12.01 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.5542, allocations: 0 / 0.6323 GB, free: 12.01 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.005754/0.5599, allocations: 1.612 MB / 0.6339 GB, free: 10.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.56, allocations: 16.02 kB / 0.6339 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.5618, allocations: 220.5 kB / 0.6341 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.5622, allocations: 279.9 kB / 0.6343 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.5622, allocations: 21.03 kB / 0.6344 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.5623, allocations: 36.12 kB / 0.6344 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.5648, allocations: 0.8249 MB / 0.6352 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5648, allocations: 0 / 0.6352 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.5649, allocations: 12 kB / 0.6352 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5649, allocations: 8 kB / 0.6352 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.5675, allocations: 0.9347 MB / 0.6361 GB, free: 7.918 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.003598/0.5711, allocations: 2.578 MB / 0.6387 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.5726, allocations: 366.2 kB / 0.639 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.5728, allocations: 72.81 kB / 0.6391 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222/1.795, allocations: 241.3 MB / 0.8747 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/1.797, allocations: 482 kB / 0.8751 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 7.544e-06/1.797, allocations: 0 / 0.8751 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004668/1.801, allocations: 0.78 MB / 0.8759 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.801, allocations: 371.8 kB / 0.8763 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/1.802, allocations: 184.5 kB / 0.8764 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/1.802, allocations: 33.7 kB / 0.8765 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.802, allocations: 187.3 kB / 0.8766 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.802, allocations: 122.4 kB / 0.8768 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/1.802, allocations: 126.2 kB / 0.8769 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/1.802, allocations: 331.6 kB / 0.8772 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/1.803, allocations: 77.06 kB / 0.8773 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/1.803, allocations: 344.7 kB / 0.8776 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/1.804, allocations: 486.2 kB / 0.8781 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.804, allocations: 0 / 0.8781 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001345/1.805, allocations: 476.9 kB / 0.8785 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/1.805, allocations: 12 kB / 0.8785 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.805, allocations: 11.94 kB / 0.8785 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.277e-05/1.805, allocations: 12 kB / 0.8785 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/1.806, allocations: 139.8 kB / 0.8787 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/1.806, allocations: 20.45 kB / 0.8787 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/1.807, allocations: 59.61 kB / 0.8788 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/1.807, allocations: 41.48 kB / 0.8788 GB, free: 11.16 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.0002586/1.807, allocations: 166.4 kB / 0.879 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/1.807, allocations: 23.86 kB / 0.879 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/1.81, allocations: 2.609 MB / 0.8815 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/1.81, allocations: 19.98 kB / 0.8815 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.81, allocations: 4 kB / 0.8816 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.81, allocations: 7.984 kB / 0.8816 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/1.812, allocations: 0.9337 MB / 0.8825 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/1.812, allocations: 0 / 0.8825 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/1.812, allocations: 83.8 kB / 0.8826 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/1.812, allocations: 4 kB / 0.8826 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/1.812, allocations: 12 kB / 0.8826 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.812, allocations: 11.83 kB / 0.8826 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.812, allocations: 7.641 kB / 0.8826 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.814, allocations: 0.7133 MB / 0.8833 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.814, allocations: 124.7 kB / 0.8834 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.814, allocations: 110.9 kB / 0.8835 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/1.815, allocations: 15.98 kB / 0.8835 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/1.815, allocations: 35.84 kB / 0.8836 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/1.815, allocations: 23.17 kB / 0.8836 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008146/1.816, allocations: 0.5039 MB / 0.8841 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.816, allocations: 0 / 0.8841 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006124/1.822, allocations: 1.528 MB / 0.8856 GB, free: 4.125 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.01289/1.835, allocations: 1.736 MB / 0.8873 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.836, allocations: 404.6 kB / 0.8876 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.836, allocations: 0 / 0.8876 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/1.837, allocations: 225.5 kB / 0.8879 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.838, allocations: 141.3 kB / 0.888 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.575/3.413, allocations: 0.6026 GB / 1.491 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/3.413, allocations: 0.9817 MB / 1.492 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005794/3.414, allocations: 0.5196 MB / 1.492 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/3.414, allocations: 59.41 kB / 1.492 GB, free: 200 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/3.414, allocations: 0 / 1.492 GB, free: 200 MB / 0.6387 GB Notification: Performance of Templates: time 0.05303/3.467, allocations: 56.07 MB / 1.547 GB, free: 144 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.077152448240668]