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.001468/0.001468, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001807/0.001807, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2378/0.2378, allocations: 46.94 MB / 361.6 MB, free: 4.258 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.002028/0.002028, allocations: 67.89 kB / 0.4974 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 66.02 MB / 0.5619 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01804/0.3393, allocations: 14.06 MB / 0.5756 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03201/0.3713, allocations: 26.77 MB / 0.6018 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3715, allocations: 0 / 0.6018 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.3718, allocations: 99.38 kB / 0.6019 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02208/0.3939, allocations: 8.562 MB / 0.6102 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.3949, allocations: 342.2 kB / 0.6106 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.399, allocations: 2.017 MB / 0.6125 GB, free: 412 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.399, allocations: 16.53 kB / 0.6126 GB, free: 392 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.3995, allocations: 282.9 kB / 0.6128 GB, free: 108 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00629/0.4058, allocations: 3.27 MB / 0.616 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.4058, allocations: 16 kB / 0.616 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02177/0.4276, allocations: 10.86 MB / 0.6266 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.4277, allocations: 51.75 kB / 0.6267 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.428, allocations: 143.4 kB / 0.6268 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.4429, allocations: 6.341 MB / 0.633 GB, free: 11.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4429, allocations: 0 / 0.633 GB, free: 11.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4429, allocations: 0 / 0.633 GB, free: 11.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.4429, allocations: 0 / 0.633 GB, free: 11.34 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.004286/0.4472, allocations: 1.525 MB / 0.6345 GB, free: 9.781 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.4473, allocations: 12.03 kB / 0.6345 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.449, allocations: 228.5 kB / 0.6347 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.4493, allocations: 218 kB / 0.6349 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.4493, allocations: 25.03 kB / 0.635 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.4494, allocations: 32.12 kB / 0.635 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.4518, allocations: 0.8174 MB / 0.6358 GB, free: 8.391 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4518, allocations: 7.938 kB / 0.6358 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.4519, allocations: 16 kB / 0.6358 GB, free: 8.367 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4519, allocations: 8 kB / 0.6358 GB, free: 8.359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.4543, allocations: 0.9391 MB / 0.6367 GB, free: 7.422 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.00332/0.4576, allocations: 2.3 MB / 0.639 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.459, allocations: 370.2 kB / 0.6393 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.4591, allocations: 72.81 kB / 0.6394 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8088/1.268, allocations: 160.4 MB / 0.7961 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/1.269, allocations: 479.5 kB / 0.7965 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.186e-06/1.269, allocations: 0 / 0.7965 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002958/1.272, allocations: 0.7771 MB / 0.7973 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/1.272, allocations: 379.7 kB / 0.7976 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/1.273, allocations: 179 kB / 0.7978 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/1.273, allocations: 33.7 kB / 0.7978 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/1.273, allocations: 188.7 kB / 0.798 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.066e-05/1.273, allocations: 117.2 kB / 0.7981 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.273, allocations: 122.1 kB / 0.7982 GB, free: 114 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/1.273, allocations: 338.4 kB / 0.7986 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/1.273, allocations: 80.94 kB / 0.7986 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/1.273, allocations: 340.6 kB / 0.799 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/1.274, allocations: 485.9 kB / 0.7994 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.274, allocations: 4 kB / 0.7994 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008496/1.275, allocations: 466.7 kB / 0.7999 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.275, allocations: 14.48 kB / 0.7999 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.275, allocations: 14.38 kB / 0.7999 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.275, allocations: 16.59 kB / 0.7999 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/1.275, allocations: 135.8 kB / 0.8001 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.275, allocations: 23.92 kB / 0.8001 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/1.276, allocations: 54.91 kB / 0.8001 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/1.276, allocations: 47.97 kB / 0.8002 GB, free: 111.8 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.00015/1.276, allocations: 164.3 kB / 0.8003 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.276, allocations: 27.86 kB / 0.8004 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/1.278, allocations: 2.756 MB / 0.8031 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.278, allocations: 19.97 kB / 0.8031 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.278, allocations: 4 kB / 0.8031 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.278, allocations: 4 kB / 0.8031 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/1.279, allocations: 0.9297 MB / 0.804 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.279, allocations: 4 kB / 0.804 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/1.279, allocations: 75.81 kB / 0.8041 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/1.279, allocations: 8 kB / 0.8041 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/1.279, allocations: 11.98 kB / 0.8041 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.279, allocations: 4.062 kB / 0.8041 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.279, allocations: 8.078 kB / 0.8041 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/1.28, allocations: 0.7204 MB / 0.8048 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/1.28, allocations: 55.39 kB / 0.8048 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.28, allocations: 107 kB / 0.805 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/1.281, allocations: 19.97 kB / 0.805 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/1.281, allocations: 39.83 kB / 0.805 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/1.281, allocations: 19.92 kB / 0.805 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004529/1.281, allocations: 0.4962 MB / 0.8055 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.281, allocations: 0 / 0.8055 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003801/1.285, allocations: 1.536 MB / 0.807 GB, free: 104.8 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.006882/1.292, allocations: 1.738 MB / 0.8087 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008496/1.293, allocations: 419.7 kB / 0.8091 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.293, allocations: 0.75 kB / 0.8091 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/1.293, allocations: 232.7 kB / 0.8093 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/1.294, allocations: 132.4 kB / 0.8095 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.213/2.507, allocations: 0.6027 GB / 1.412 GB, free: 57.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/2.507, allocations: 0.9856 MB / 1.413 GB, free: 56.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/2.507, allocations: 63.39 kB / 1.413 GB, free: 56.17 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/2.507, allocations: 0 / 1.413 GB, free: 56.17 MB / 0.6387 GB Notification: Performance of Templates: time 0.03467/2.542, allocations: 33.04 MB / 1.445 GB, free: 23.16 MB / 0.6387 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/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: 12.29067561100237]