Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.89 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 75.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3215, allocations: 66 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05504/0.3766, allocations: 44.59 MB / 0.6048 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.3834, allocations: 4.421 MB / 0.6091 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.3839, allocations: 19.88 kB / 0.6091 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008796/0.3848, allocations: 330 kB / 0.6094 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.3867, allocations: 0.8745 MB / 0.6103 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.3891, allocations: 0.8952 MB / 0.6111 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00245/0.3916, allocations: 1.809 MB / 0.6129 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.3923, allocations: 393.4 kB / 0.6133 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1066/0.4989, allocations: 44.67 MB / 0.6569 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01755/0.5165, allocations: 8.01 MB / 0.6647 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.5167, allocations: 60 kB / 0.6648 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02385/0.5405, allocations: 10.71 MB / 0.6752 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.5411, allocations: 267.2 kB / 0.6755 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.5417, allocations: 394.2 kB / 0.6759 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.5436, allocations: 1.098 MB / 0.677 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5436, allocations: 4 kB / 0.677 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5436, allocations: 0 / 0.677 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.5436, allocations: 4 kB / 0.677 GB, free: 13.57 MB / 0.5137 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.002572/0.5462, allocations: 1.07 MB / 0.678 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5462, allocations: 12.03 kB / 0.678 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.5466, allocations: 92.45 kB / 0.6781 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.5477, allocations: 0.533 MB / 0.6786 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.5478, allocations: 109 kB / 0.6787 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.548, allocations: 52.11 kB / 0.6788 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5494, allocations: 0.8136 MB / 0.6796 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.5494, allocations: 0 / 0.6796 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.5495, allocations: 35.98 kB / 0.6796 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.5496, allocations: 40.92 kB / 0.6796 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.5507, allocations: 0.6439 MB / 0.6803 GB, free: 9.988 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.005604/0.5563, allocations: 4.214 MB / 0.6844 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.5573, allocations: 407.6 kB / 0.6848 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.5576, allocations: 193.4 kB / 0.685 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/0.5582, allocations: 0.5028 MB / 0.6855 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.5583, allocations: 42.89 kB / 0.6855 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.725e-06/0.5583, allocations: 0 / 0.6855 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003488/0.5618, allocations: 1.53 MB / 0.687 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.5619, allocations: 140.5 kB / 0.6871 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/0.5626, allocations: 0.5655 MB / 0.6877 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/0.5627, allocations: 33.7 kB / 0.6877 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.563, allocations: 363.8 kB / 0.6881 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5632, allocations: 174.6 kB / 0.6882 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.5634, allocations: 138.6 kB / 0.6884 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.5636, allocations: 378.7 kB / 0.6887 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.564, allocations: 225.8 kB / 0.6889 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.5647, allocations: 0.5279 MB / 0.6894 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.5659, allocations: 0.7679 MB / 0.6902 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5659, allocations: 4 kB / 0.6902 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001931/0.5678, allocations: 0.9418 MB / 0.6911 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5678, allocations: 8 kB / 0.6911 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5678, allocations: 8 kB / 0.6911 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.569, allocations: 272.6 kB / 0.6914 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.5694, allocations: 119.8 kB / 0.6915 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.5706, allocations: 0.8723 MB / 0.6924 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.5711, allocations: 24 kB / 0.6924 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.5711, allocations: 39.98 kB / 0.6924 GB, free: 12.7 MB / 0.5294 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.0003811/0.5715, allocations: 241.5 kB / 0.6927 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.5716, allocations: 67.58 kB / 0.6927 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.5731, allocations: 0.716 MB / 0.6934 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5731, allocations: 8 kB / 0.6934 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.5732, allocations: 0 / 0.6934 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.5732, allocations: 3.984 kB / 0.6934 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.5756, allocations: 1.396 MB / 0.6948 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5756, allocations: 4.047 kB / 0.6948 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.5766, allocations: 199.9 kB / 0.695 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.5769, allocations: 56.78 kB / 0.695 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.5769, allocations: 12 kB / 0.695 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.5799, allocations: 2.991 MB / 0.698 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.5799, allocations: 3.984 kB / 0.698 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.5817, allocations: 1.001 MB / 0.699 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.5821, allocations: 196.6 kB / 0.6991 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.5821, allocations: 12 kB / 0.6992 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.5825, allocations: 16 kB / 0.6992 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.5826, allocations: 51.81 kB / 0.6992 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.5827, allocations: 20 kB / 0.6992 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005809/0.5833, allocations: 423 kB / 0.6996 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5833, allocations: 0 / 0.6996 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008073/0.5841, allocations: 207.8 kB / 0.6998 GB, free: 4.668 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005448/0.5846, allocations: 227.5 kB / 0.7001 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.5859, allocations: 0.5929 MB / 0.7006 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.5859, allocations: 0 / 0.7006 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.5872, allocations: 470.6 kB / 0.7011 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.589, allocations: 377.5 kB / 0.7014 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.5913, allocations: 1.431 MB / 0.7028 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.592, allocations: 0.9346 MB / 0.7038 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006225/0.5926, allocations: 212.9 kB / 0.704 GB, free: 392 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.5927, allocations: 63.42 kB / 0.704 GB, free: 328 kB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.5927, allocations: 0 / 0.704 GB, free: 328 kB / 0.5294 GB Notification: Performance of Templates: time 0.02936/0.6221, allocations: 15.71 MB / 0.7194 GB, free: 0.7734 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.699006711132824]