Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00177/0.00177, allocations: 119.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002017/0.002017, allocations: 200.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.686/1.686, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2666/0.2666, allocations: 46.92 MB / 357.1 MB, free: 10.31 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+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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003018, allocations: 67.91 kB / 0.4915 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1773, allocations: 65.99 MB / 0.5559 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02151/0.1988, allocations: 13.98 MB / 0.5695 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3961/0.5949, allocations: 26.68 MB / 0.5956 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.5952, allocations: 2.312 kB / 0.5956 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.5956, allocations: 92.47 kB / 0.5957 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03176/0.6274, allocations: 8.549 MB / 0.604 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.6286, allocations: 347 kB / 0.6044 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005164/0.6337, allocations: 2.004 MB / 0.6063 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.6338, allocations: 15.56 kB / 0.6063 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.6345, allocations: 279.5 kB / 0.6066 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006693/0.6412, allocations: 3.275 MB / 0.6098 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.6412, allocations: 10.75 kB / 0.6098 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02636/0.6676, allocations: 10.85 MB / 0.6204 GB, free: 288 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.6677, allocations: 51.75 kB / 0.6205 GB, free: 264 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.668, allocations: 138.8 kB / 0.6206 GB, free: 232 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02444/0.6924, allocations: 6.342 MB / 0.6268 GB, free: 12.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6925, allocations: 0 / 0.6268 GB, free: 12.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6925, allocations: 0 / 0.6268 GB, free: 12.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.6925, allocations: 0 / 0.6268 GB, free: 12.62 MB / 462.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.007077/0.6995, allocations: 1.605 MB / 0.6283 GB, free: 11.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6996, allocations: 9.844 kB / 0.6284 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.7015, allocations: 227 kB / 0.6286 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.702, allocations: 279.4 kB / 0.6288 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.702, allocations: 23.44 kB / 0.6289 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.7021, allocations: 32 kB / 0.6289 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.7046, allocations: 0.8234 MB / 0.6297 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.7047, allocations: 3.156 kB / 0.6297 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.7047, allocations: 14.89 kB / 0.6297 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.7047, allocations: 11.16 kB / 0.6297 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.7073, allocations: 0.9415 MB / 0.6306 GB, free: 10.1 MB / 462.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.003708/0.711, allocations: 2.572 MB / 0.6332 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.7125, allocations: 367.8 kB / 0.6335 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.7127, allocations: 68.73 kB / 0.6336 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109/1.821, allocations: 241.3 MB / 0.8692 GB, free: 256.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/1.823, allocations: 468.6 kB / 0.8696 GB, free: 256.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/1.823, allocations: 0 / 0.8696 GB, free: 256.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.003352/1.826, allocations: 0.7861 MB / 0.8704 GB, free: 256 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.826, allocations: 369.3 kB / 0.8707 GB, free: 255.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/1.827, allocations: 192.1 kB / 0.8709 GB, free: 255.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/1.827, allocations: 35.25 kB / 0.871 GB, free: 255.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.827, allocations: 190.6 kB / 0.8711 GB, free: 255.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.1e-05/1.827, allocations: 116.2 kB / 0.8713 GB, free: 255.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/1.827, allocations: 122.9 kB / 0.8714 GB, free: 255.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/1.827, allocations: 331.1 kB / 0.8717 GB, free: 254.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/1.827, allocations: 82.78 kB / 0.8718 GB, free: 254.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/1.828, allocations: 347.2 kB / 0.8721 GB, free: 254.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/1.829, allocations: 486.7 kB / 0.8726 GB, free: 254.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.829, allocations: 6.688 kB / 0.8726 GB, free: 254.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001142/1.83, allocations: 474.7 kB / 0.873 GB, free: 253.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.83, allocations: 9.062 kB / 0.873 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.83, allocations: 10.62 kB / 0.873 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/1.83, allocations: 12.06 kB / 0.8731 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/1.83, allocations: 145.7 kB / 0.8732 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/1.83, allocations: 20.61 kB / 0.8732 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/1.831, allocations: 48.34 kB / 0.8733 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/1.831, allocations: 43.11 kB / 0.8733 GB, free: 253.8 MB / 0.67 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.0001881/1.831, allocations: 164.2 kB / 0.8735 GB, free: 253.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/1.831, allocations: 31.42 kB / 0.8735 GB, free: 253.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/1.834, allocations: 2.619 MB / 0.876 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.834, allocations: 15.86 kB / 0.8761 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.834, allocations: 3.875 kB / 0.8761 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.834, allocations: 7.828 kB / 0.8761 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009716/1.835, allocations: 0.926 MB / 0.877 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.835, allocations: 2.188 kB / 0.877 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/1.835, allocations: 85.2 kB / 0.8771 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.835, allocations: 3.75 kB / 0.8771 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/1.835, allocations: 16.12 kB / 0.8771 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.835, allocations: 7.953 kB / 0.8771 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.835, allocations: 3.969 kB / 0.8771 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/1.836, allocations: 0.6946 MB / 0.8778 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/1.836, allocations: 136.4 kB / 0.8779 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.836, allocations: 107.3 kB / 0.878 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/1.837, allocations: 15.89 kB / 0.878 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/1.837, allocations: 31.69 kB / 0.878 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.837, allocations: 19.86 kB / 0.8781 GB, free: 250.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004949/1.837, allocations: 0.4986 MB / 0.8786 GB, free: 250.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.837, allocations: 4 kB / 0.8786 GB, free: 250.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006381/1.844, allocations: 1.537 MB / 0.8801 GB, free: 250.3 MB / 0.67 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.01058/1.854, allocations: 1.746 MB / 0.8818 GB, free: 248.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001047/1.855, allocations: 408.6 kB / 0.8822 GB, free: 248.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.855, allocations: 192 / 0.8822 GB, free: 248.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/1.856, allocations: 227.2 kB / 0.8824 GB, free: 248.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/1.857, allocations: 135.9 kB / 0.8825 GB, free: 248 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.346/3.202, allocations: 0.6026 GB / 1.485 GB, free: 112.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/3.203, allocations: 0.9862 MB / 1.486 GB, free: 111.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006395/3.203, allocations: 0.525 MB / 1.487 GB, free: 111.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/3.204, allocations: 51.41 kB / 1.487 GB, free: 111.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/3.204, allocations: 4 kB / 1.487 GB, free: 111.2 MB / 0.67 GB Notification: Performance of Templates: time 0.05899/3.263, allocations: 55.86 MB / 1.541 GB, free: 55.34 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.066154137253761]