Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.00136/0.00136, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001886/0.001886, allocations: 204.7 kB / 24.48 MB, free: 3.969 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.565/1.565, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2408/0.2408, allocations: 46.96 MB / 361.6 MB, free: 4.078 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 66.03 MB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05306/0.4027, allocations: 39.81 MB / 0.6007 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006784/0.4095, allocations: 4.055 MB / 0.6047 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000665/0.4102, allocations: 27.75 kB / 0.6047 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.4113, allocations: 314 kB / 0.605 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.4136, allocations: 0.8861 MB / 0.6059 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.4162, allocations: 0.9111 MB / 0.6068 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.4188, allocations: 1.821 MB / 0.6085 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008002/0.4196, allocations: 397.6 kB / 0.6089 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1009/0.5204, allocations: 44.19 MB / 0.6521 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01879/0.5392, allocations: 7.938 MB / 0.6598 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003887/0.5396, allocations: 60 kB / 0.6599 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02585/0.5654, allocations: 10.57 MB / 0.6702 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.566, allocations: 267.2 kB / 0.6705 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008258/0.5668, allocations: 326.6 kB / 0.6708 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.5691, allocations: 1.082 MB / 0.6718 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5691, allocations: 3.938 kB / 0.6718 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5691, allocations: 0 / 0.6718 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.743e-05/0.5692, allocations: 0 / 0.6718 GB, free: 2.805 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00301/0.5722, allocations: 0.9951 MB / 0.6728 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5722, allocations: 12.03 kB / 0.6728 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.5727, allocations: 92.45 kB / 0.6729 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5738, allocations: 478.7 kB / 0.6734 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.574, allocations: 156.3 kB / 0.6735 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.5741, allocations: 56.11 kB / 0.6736 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.5758, allocations: 1.072 MB / 0.6746 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.5758, allocations: 4 kB / 0.6746 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.5759, allocations: 24 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.547e-05/0.576, allocations: 36.98 kB / 0.6747 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.5772, allocations: 0.6478 MB / 0.6753 GB, free: 15.03 MB / 0.5137 GB 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.005383/0.5826, allocations: 3.321 MB / 0.6785 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.584, allocations: 401.5 kB / 0.6789 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.5846, allocations: 201.3 kB / 0.6791 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.585, allocations: 52.28 kB / 0.6792 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.5851, allocations: 38.89 kB / 0.6792 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 4.929e-06/0.5851, allocations: 0 / 0.6792 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.004405/0.5895, allocations: 1.452 MB / 0.6806 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.5896, allocations: 136.5 kB / 0.6808 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000687/0.5903, allocations: 0.5182 MB / 0.6813 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.5903, allocations: 29.7 kB / 0.6813 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.5906, allocations: 376.3 kB / 0.6816 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.5908, allocations: 170.5 kB / 0.6818 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.591, allocations: 142.6 kB / 0.6819 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.5912, allocations: 370.8 kB / 0.6823 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.5917, allocations: 221.9 kB / 0.6825 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/0.5924, allocations: 0.5918 MB / 0.6831 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5936, allocations: 0.791 MB / 0.6839 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5936, allocations: 0 / 0.6839 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002028/0.5957, allocations: 0.9257 MB / 0.6848 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5957, allocations: 12 kB / 0.6848 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5957, allocations: 8 kB / 0.6848 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.597, allocations: 261.2 kB / 0.685 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.5975, allocations: 131.8 kB / 0.6852 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.5986, allocations: 0.8606 MB / 0.686 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.5991, allocations: 27.98 kB / 0.686 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.5991, allocations: 32 kB / 0.6861 GB, free: 3.453 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004177/0.5995, allocations: 249.9 kB / 0.6863 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5997, allocations: 59.62 kB / 0.6863 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.6012, allocations: 0.7232 MB / 0.6871 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.6012, allocations: 3.984 kB / 0.6871 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6012, allocations: 0 / 0.6871 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.6015, allocations: 107.6 kB / 0.6872 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.6016, allocations: 12 kB / 0.6872 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.6019, allocations: 15.98 kB / 0.6872 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.602, allocations: 40.31 kB / 0.6872 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001915/0.6039, allocations: 0.716 MB / 0.6879 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0015/0.6054, allocations: 0.978 MB / 0.6889 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003824/0.6058, allocations: 223.4 kB / 0.6891 GB, free: 304 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004796/0.6063, allocations: 350.8 kB / 0.6894 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of Backend: time 3.7e-07/0.6063, allocations: 0 / 0.6894 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.608, allocations: 0.5946 MB / 0.69 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002951/0.611, allocations: 1.858 MB / 0.6918 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.02584/0.6368, allocations: 14.6 MB / 0.7061 GB, free: 15.1 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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: 5.744918652002525]