Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001345/0.001345, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001542/0.001542, allocations: 158.9 kB / 24.5 MB, free: 3.715 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.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 32.81 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.91 kB / 440.6 MB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3092, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01161/0.3208, allocations: 12.72 MB / 0.5066 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0235/0.3443, allocations: 23.37 MB / 0.5294 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.3446, allocations: 5.375 kB / 0.5295 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.3451, allocations: 85.98 kB / 0.5295 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0232/0.3683, allocations: 8.496 MB / 0.5378 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.3692, allocations: 348.5 kB / 0.5382 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004686/0.3739, allocations: 2.022 MB / 0.5401 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.927e-05/0.374, allocations: 19.39 kB / 0.5402 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.3744, allocations: 259.1 kB / 0.5404 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006948/0.3814, allocations: 3.282 MB / 0.5436 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.3814, allocations: 11.28 kB / 0.5436 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02255/0.404, allocations: 10.32 MB / 0.5537 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4041, allocations: 55.59 kB / 0.5538 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.4044, allocations: 123.7 kB / 0.5539 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01978/0.4242, allocations: 6.329 MB / 0.5601 GB, free: 5.391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4242, allocations: 0 / 0.5601 GB, free: 5.391 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4242, allocations: 4 kB / 0.5601 GB, free: 5.387 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.4242, allocations: 0 / 0.5601 GB, free: 5.387 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.004534/0.4287, allocations: 1.521 MB / 0.5615 GB, free: 3.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4287, allocations: 8.031 kB / 0.5615 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.4305, allocations: 232.5 kB / 0.5618 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.4309, allocations: 218 kB / 0.562 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.431, allocations: 29.03 kB / 0.562 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.431, allocations: 28.12 kB / 0.562 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.4335, allocations: 0.8715 MB / 0.5629 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4335, allocations: 3.938 kB / 0.5629 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.4336, allocations: 20 kB / 0.5629 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4336, allocations: 8 kB / 0.5629 GB, free: 2.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.4362, allocations: 0.9273 MB / 0.5638 GB, free: 1.414 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.003209/0.4394, allocations: 1.96 MB / 0.5657 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.4408, allocations: 373.7 kB / 0.5661 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.441, allocations: 72.81 kB / 0.5662 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8925/1.333, allocations: 161 MB / 0.7234 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/1.335, allocations: 468.8 kB / 0.7239 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/1.335, allocations: 1.156 kB / 0.7239 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003154/1.338, allocations: 0.7845 MB / 0.7246 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.339, allocations: 370.6 kB / 0.725 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/1.339, allocations: 189.4 kB / 0.7252 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/1.339, allocations: 33.64 kB / 0.7252 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/1.339, allocations: 190 kB / 0.7254 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/1.339, allocations: 116 kB / 0.7255 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.339, allocations: 121.9 kB / 0.7256 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/1.339, allocations: 331 kB / 0.7259 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/1.339, allocations: 93.59 kB / 0.726 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/1.339, allocations: 340 kB / 0.7263 GB, free: 160 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/1.34, allocations: 473.8 kB / 0.7268 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.34, allocations: 7.312 kB / 0.7268 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008523/1.341, allocations: 482.3 kB / 0.7273 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.341, allocations: 7.125 kB / 0.7273 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.341, allocations: 9 kB / 0.7273 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.341, allocations: 12.81 kB / 0.7273 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/1.341, allocations: 145.9 kB / 0.7274 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.341, allocations: 16.44 kB / 0.7274 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/1.342, allocations: 55.05 kB / 0.7275 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/1.342, allocations: 46.8 kB / 0.7275 GB, free: 159.2 MB / 0.5762 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.0001407/1.342, allocations: 164 kB / 0.7277 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/1.342, allocations: 22.47 kB / 0.7277 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/1.344, allocations: 2.846 MB / 0.7305 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.344, allocations: 19.97 kB / 0.7305 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.344, allocations: 4 kB / 0.7305 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.344, allocations: 7.938 kB / 0.7305 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/1.345, allocations: 0.8469 MB / 0.7314 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.345, allocations: 7.984 kB / 0.7314 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/1.345, allocations: 80.25 kB / 0.7314 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.345, allocations: 7.438 kB / 0.7314 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/1.345, allocations: 11.98 kB / 0.7315 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.345, allocations: 7.938 kB / 0.7315 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.345, allocations: 4 kB / 0.7315 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007895/1.346, allocations: 0.7256 MB / 0.7322 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/1.346, allocations: 51.3 kB / 0.7322 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/1.346, allocations: 108.1 kB / 0.7323 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/1.346, allocations: 19.98 kB / 0.7323 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.346, allocations: 39.83 kB / 0.7324 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/1.346, allocations: 15.98 kB / 0.7324 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004538/1.347, allocations: 0.5001 MB / 0.7329 GB, free: 154 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.347, allocations: 0 / 0.7329 GB, free: 154 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003746/1.351, allocations: 1.528 MB / 0.7344 GB, free: 152.5 MB / 0.5762 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.005077/1.356, allocations: 1.748 MB / 0.7361 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007368/1.356, allocations: 425.2 kB / 0.7365 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.356, allocations: 0 / 0.7365 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/1.357, allocations: 233.1 kB / 0.7367 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/1.357, allocations: 137.7 kB / 0.7368 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.216/2.574, allocations: 0.6026 GB / 1.339 GB, free: 68.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/2.574, allocations: 398.1 kB / 1.34 GB, free: 68.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006421/2.575, allocations: 0.5263 MB / 1.34 GB, free: 67.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/2.575, allocations: 56.47 kB / 1.34 GB, free: 67.44 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/2.575, allocations: 0 / 1.34 GB, free: 67.44 MB / 0.6231 GB Notification: Performance of Templates: time 0.05617/2.631, allocations: 55.95 MB / 1.395 GB, free: 11.63 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.816344078979455]