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.001665/0.001665, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002039/0.002039, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.513/1.513, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2292/0.2292, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] 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.003042/0.003042, allocations: 79.86 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.307, allocations: 65.99 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01886/0.3259, allocations: 14.05 MB / 0.575 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03327/0.3592, allocations: 26.75 MB / 0.6011 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3593, allocations: 0 / 0.6011 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.3597, allocations: 107.4 kB / 0.6012 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02237/0.3821, allocations: 8.543 MB / 0.6095 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/0.383, allocations: 349.1 kB / 0.6099 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004587/0.3876, allocations: 2.01 MB / 0.6118 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.53e-05/0.3877, allocations: 8.406 kB / 0.6118 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006055/0.3883, allocations: 286.7 kB / 0.6121 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006372/0.3947, allocations: 3.274 MB / 0.6153 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.3947, allocations: 8 kB / 0.6153 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02141/0.4161, allocations: 10.85 MB / 0.6259 GB, free: 2.535 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.4162, allocations: 51.75 kB / 0.626 GB, free: 2.484 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.4164, allocations: 147.3 kB / 0.6261 GB, free: 2.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.4292, allocations: 6.333 MB / 0.6323 GB, free: 11.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4292, allocations: 0 / 0.6323 GB, free: 11.99 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4292, allocations: 0 / 0.6323 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.4292, allocations: 0 / 0.6323 GB, free: 11.99 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.004185/0.4334, allocations: 1.604 MB / 0.6339 GB, free: 10.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4334, allocations: 8.031 kB / 0.6339 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.4352, allocations: 228.5 kB / 0.6341 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.4355, allocations: 275.9 kB / 0.6343 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.4356, allocations: 21.03 kB / 0.6344 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.4356, allocations: 40.12 kB / 0.6344 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.4381, allocations: 0.821 MB / 0.6352 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4381, allocations: 4 kB / 0.6352 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.4381, allocations: 12 kB / 0.6352 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.4381, allocations: 11.98 kB / 0.6352 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.4407, allocations: 0.9347 MB / 0.6361 GB, free: 7.902 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.003412/0.4441, allocations: 2.578 MB / 0.6387 GB, free: 5.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.4456, allocations: 366.2 kB / 0.639 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.4457, allocations: 72.84 kB / 0.6391 GB, free: 4.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9114/1.357, allocations: 241.3 MB / 0.8747 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.359, allocations: 470.2 kB / 0.8751 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.505e-06/1.359, allocations: 0 / 0.8751 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003106/1.362, allocations: 0.7858 MB / 0.8759 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/1.362, allocations: 371.8 kB / 0.8762 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.362, allocations: 186.7 kB / 0.8764 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/1.362, allocations: 33.7 kB / 0.8765 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/1.362, allocations: 187.9 kB / 0.8766 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/1.362, allocations: 121.6 kB / 0.8768 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/1.362, allocations: 126.2 kB / 0.8769 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/1.362, allocations: 327.6 kB / 0.8772 GB, free: 13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/1.362, allocations: 92.84 kB / 0.8773 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/1.363, allocations: 348.7 kB / 0.8776 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/1.363, allocations: 472.4 kB / 0.8781 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.363, allocations: 4 kB / 0.8781 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008709/1.364, allocations: 478.7 kB / 0.8785 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.364, allocations: 14.19 kB / 0.8785 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.364, allocations: 10.38 kB / 0.8785 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.364, allocations: 12 kB / 0.8786 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/1.365, allocations: 144.4 kB / 0.8787 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.365, allocations: 19.92 kB / 0.8787 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/1.365, allocations: 53.28 kB / 0.8788 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/1.365, allocations: 43.97 kB / 0.8788 GB, free: 11.12 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.0001375/1.365, allocations: 162.4 kB / 0.879 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.365, allocations: 23.86 kB / 0.879 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/1.367, allocations: 2.617 MB / 0.8815 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.367, allocations: 15.98 kB / 0.8816 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.367, allocations: 4 kB / 0.8816 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.367, allocations: 7.984 kB / 0.8816 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/1.368, allocations: 0.9342 MB / 0.8825 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.368, allocations: 7.984 kB / 0.8825 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/1.368, allocations: 75.88 kB / 0.8826 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.368, allocations: 4 kB / 0.8826 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/1.368, allocations: 11.98 kB / 0.8826 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.368, allocations: 11.94 kB / 0.8826 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.368, allocations: 4 kB / 0.8826 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/1.369, allocations: 0.7133 MB / 0.8833 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/1.369, allocations: 124.7 kB / 0.8834 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.369, allocations: 107.9 kB / 0.8835 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/1.37, allocations: 19.98 kB / 0.8835 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/1.37, allocations: 31.84 kB / 0.8836 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/1.37, allocations: 19.98 kB / 0.8836 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004716/1.37, allocations: 0.5001 MB / 0.8841 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.37, allocations: 0 / 0.8841 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003927/1.374, allocations: 1.532 MB / 0.8856 GB, free: 4.086 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.006568/1.381, allocations: 1.743 MB / 0.8873 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007521/1.382, allocations: 416.1 kB / 0.8877 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.382, allocations: 3.844 kB / 0.8877 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/1.382, allocations: 221.5 kB / 0.8879 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/1.383, allocations: 128.1 kB / 0.888 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.437/2.82, allocations: 0.6026 GB / 1.491 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/2.82, allocations: 0.9817 MB / 1.492 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006126/2.821, allocations: 0.5202 MB / 1.492 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/2.821, allocations: 55.41 kB / 1.492 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/2.821, allocations: 0 / 1.492 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.05453/2.875, allocations: 56.08 MB / 1.547 GB, free: 144.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 -s gbode -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: 11.525012216996402]