Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001943/0.001943, allocations: 71.12 kB / 21.24 MB, free: 0.5469 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.00242/0.00242, allocations: 158.9 kB / 24.5 MB, free: 3.719 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.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.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.2108/0.2108, allocations: 34.28 MB / 295.5 MB, free: 14.59 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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.89 kB / 443.2 MB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3031, allocations: 66.02 MB / 0.4973 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01176/0.3149, allocations: 12.72 MB / 0.5097 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02384/0.3387, allocations: 23.37 MB / 0.5325 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.3389, allocations: 5.219 kB / 0.5325 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.3393, allocations: 92.75 kB / 0.5326 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02469/0.3639, allocations: 8.502 MB / 0.5409 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000931/0.3649, allocations: 351.7 kB / 0.5413 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004353/0.3692, allocations: 2.007 MB / 0.5432 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.313e-05/0.3693, allocations: 20.45 kB / 0.5432 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.3697, allocations: 257 kB / 0.5435 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007317/0.377, allocations: 3.273 MB / 0.5467 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.3771, allocations: 9.844 kB / 0.5467 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02656/0.4037, allocations: 11.08 MB / 0.5575 GB, free: 7.922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.4038, allocations: 47.77 kB / 0.5575 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.4041, allocations: 119.5 kB / 0.5577 GB, free: 7.758 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02214/0.4263, allocations: 6.766 MB / 0.5643 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4263, allocations: 0 / 0.5643 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4263, allocations: 0 / 0.5643 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.4263, allocations: 8 kB / 0.5643 GB, free: 0.9688 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.005849/0.4321, allocations: 1.575 MB / 0.5658 GB, free: 15.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4322, allocations: 12.03 kB / 0.5658 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.4339, allocations: 188.5 kB / 0.566 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.4343, allocations: 218.1 kB / 0.5662 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.4344, allocations: 25.03 kB / 0.5662 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.4344, allocations: 32.12 kB / 0.5663 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4368, allocations: 0.8067 MB / 0.5671 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4368, allocations: 0 / 0.5671 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.4369, allocations: 16 kB / 0.5671 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4369, allocations: 15.98 kB / 0.5671 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.4392, allocations: 0.8024 MB / 0.5679 GB, free: 13.16 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.003694/0.4429, allocations: 2.105 MB / 0.5699 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.4442, allocations: 342.3 kB / 0.5703 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.4443, allocations: 60.92 kB / 0.5703 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4075/0.8518, allocations: 99.97 MB / 0.6679 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.8532, allocations: 450.8 kB / 0.6684 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.126e-06/0.8532, allocations: 0 / 0.6684 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004272/0.8575, allocations: 1.15 MB / 0.6695 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002184/0.8577, allocations: 375.8 kB / 0.6699 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.8579, allocations: 198.2 kB / 0.67 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.858, allocations: 29.7 kB / 0.6701 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.8581, allocations: 192.1 kB / 0.6703 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.8582, allocations: 119 kB / 0.6704 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.8584, allocations: 126.1 kB / 0.6705 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8586, allocations: 326.8 kB / 0.6708 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.8588, allocations: 80.94 kB / 0.6709 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.8592, allocations: 344.9 kB / 0.6712 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.8599, allocations: 483.5 kB / 0.6717 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.8599, allocations: 4 kB / 0.6717 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001011/0.8609, allocations: 477.6 kB / 0.6721 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.8609, allocations: 15.88 kB / 0.6721 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.8609, allocations: 12 kB / 0.6722 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.861, allocations: 16.06 kB / 0.6722 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.8626, allocations: 207.7 kB / 0.6724 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007571/0.8634, allocations: 1.184 MB / 0.6735 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.8637, allocations: 19.95 kB / 0.6735 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.8638, allocations: 47.97 kB / 0.6736 GB, free: 196 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.864, allocations: 158.2 kB / 0.6737 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.8641, allocations: 36.22 kB / 0.6738 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.8677, allocations: 3.057 MB / 0.6768 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/0.8677, allocations: 24.34 kB / 0.6768 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.8677, allocations: 8 kB / 0.6768 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.8677, allocations: 4 kB / 0.6768 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.8688, allocations: 0.8751 MB / 0.6776 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.8689, allocations: 4 kB / 0.6777 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.8695, allocations: 100.3 kB / 0.6777 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.8697, allocations: 164.7 kB / 0.6779 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.8698, allocations: 11.94 kB / 0.6779 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/0.8703, allocations: 0.6517 MB / 0.6786 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.8703, allocations: 4 kB / 0.6786 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.8717, allocations: 0.9884 MB / 0.6795 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.8718, allocations: 59.47 kB / 0.6796 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.872, allocations: 95.12 kB / 0.6797 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.8724, allocations: 20 kB / 0.6797 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.8724, allocations: 39.81 kB / 0.6797 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.8724, allocations: 15.98 kB / 0.6797 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006247/0.8731, allocations: 471 kB / 0.6802 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8731, allocations: 4 kB / 0.6802 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005055/0.8781, allocations: 1.641 MB / 0.6818 GB, free: 7.633 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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008025/0.8862, allocations: 1.877 MB / 0.6836 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.8879, allocations: 0.5537 MB / 0.6842 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8879, allocations: 0 / 0.6842 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.8884, allocations: 295.3 kB / 0.6845 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.8893, allocations: 140.2 kB / 0.6846 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.896/1.785, allocations: 348.7 MB / 1.025 GB, free: 138.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/1.786, allocations: 391.9 kB / 1.025 GB, free: 138 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005931/1.786, allocations: 0.4976 MB / 1.026 GB, free: 137.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/1.786, allocations: 60.47 kB / 1.026 GB, free: 137.4 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/1.786, allocations: 0 / 1.026 GB, free: 137.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.05949/1.846, allocations: 58.72 MB / 1.083 GB, free: 78.88 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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: 10.652232283027843]