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.LinearColdWater.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.001602/0.001602, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001802/0.001802, allocations: 207 kB / 24.48 MB, free: 4.035 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.445/1.445, allocations: 230.2 MB / 257.8 MB, free: 8.523 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.2227/0.2227, allocations: 46.89 MB / 361.1 MB, free: 4.668 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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") [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.002431/0.002431, allocations: 83.86 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3327, allocations: 65.99 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02468/0.3574, allocations: 20.69 MB / 0.5814 GB, free: 296 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007303/0.3647, allocations: 4.344 MB / 0.5857 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00078/0.3655, allocations: 19.88 kB / 0.5857 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.3667, allocations: 318 kB / 0.586 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.3694, allocations: 0.8705 MB / 0.5868 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.3722, allocations: 0.9183 MB / 0.5877 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.375, allocations: 1.801 MB / 0.5895 GB, free: 8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009804/0.3759, allocations: 397.4 kB / 0.5899 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.3784, allocations: 0.9456 MB / 0.5908 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.3799, allocations: 0.6773 MB / 0.5915 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.3801, allocations: 63.98 kB / 0.5915 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.3812, allocations: 311.6 kB / 0.5918 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004269/0.3816, allocations: 267.2 kB / 0.5921 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007752/0.3824, allocations: 390.2 kB / 0.5924 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.3845, allocations: 1.098 MB / 0.5935 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3845, allocations: 4 kB / 0.5935 GB, free: 3.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3845, allocations: 0 / 0.5935 GB, free: 3.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.259e-05/0.3846, allocations: 0 / 0.5935 GB, free: 3.863 MB / 430.1 MB 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.002816/0.3874, allocations: 1.07 MB / 0.5946 GB, free: 2.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3874, allocations: 8.031 kB / 0.5946 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.3879, allocations: 96.41 kB / 0.5947 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.389, allocations: 0.5293 MB / 0.5952 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.3891, allocations: 101 kB / 0.5953 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3892, allocations: 56.31 kB / 0.5953 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.3907, allocations: 0.8213 MB / 0.5961 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.3907, allocations: 4 kB / 0.5961 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/0.3908, allocations: 27.94 kB / 0.5962 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.3909, allocations: 40.92 kB / 0.5962 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.392, allocations: 0.6439 MB / 0.5968 GB, free: 296 kB / 430.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.005537/0.3976, allocations: 4.21 MB / 0.6009 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/0.3985, allocations: 398.8 kB / 0.6013 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.3989, allocations: 197.4 kB / 0.6015 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.3994, allocations: 0.5029 MB / 0.602 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3994, allocations: 38.89 kB / 0.602 GB, free: 10.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.3994, allocations: 0 / 0.602 GB, free: 10.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003528/0.403, allocations: 1.537 MB / 0.6035 GB, free: 8.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.4031, allocations: 140.5 kB / 0.6037 GB, free: 8.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.4039, allocations: 0.5655 MB / 0.6042 GB, free: 8.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.4039, allocations: 33.7 kB / 0.6043 GB, free: 8.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.4042, allocations: 371.8 kB / 0.6046 GB, free: 7.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.4044, allocations: 174.5 kB / 0.6048 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.4046, allocations: 130.6 kB / 0.6049 GB, free: 7.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4049, allocations: 378.7 kB / 0.6053 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.4053, allocations: 221.9 kB / 0.6055 GB, free: 6.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.406, allocations: 0.5318 MB / 0.606 GB, free: 6.227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.4072, allocations: 0.7679 MB / 0.6067 GB, free: 5.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.4072, allocations: 4 kB / 0.6067 GB, free: 5.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001997/0.4092, allocations: 0.9376 MB / 0.6077 GB, free: 4.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.4093, allocations: 8 kB / 0.6077 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4093, allocations: 8 kB / 0.6077 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4104, allocations: 272.9 kB / 0.6079 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.4109, allocations: 123.8 kB / 0.6081 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.412, allocations: 0.8684 MB / 0.6089 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.4125, allocations: 27.94 kB / 0.6089 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.4126, allocations: 39.98 kB / 0.609 GB, free: 3.012 MB / 446.1 MB 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.000399/0.413, allocations: 241.5 kB / 0.6092 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.4132, allocations: 67.58 kB / 0.6093 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.4146, allocations: 0.7139 MB / 0.61 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.4146, allocations: 3.984 kB / 0.61 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4146, allocations: 4 kB / 0.61 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.415, allocations: 192.6 kB / 0.6101 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.4151, allocations: 15.98 kB / 0.6102 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.4155, allocations: 16 kB / 0.6102 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.4156, allocations: 32.39 kB / 0.6102 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001837/0.4174, allocations: 0.7237 MB / 0.6109 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001515/0.4189, allocations: 0.9744 MB / 0.6119 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003782/0.4193, allocations: 227.3 kB / 0.6121 GB, free: 15.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005508/0.4198, allocations: 398.8 kB / 0.6125 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Backend: time 2.5e-07/0.4198, allocations: 4 kB / 0.6125 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.4217, allocations: 0.61 MB / 0.6131 GB, free: 14.76 MB / 462.1 MB Notification: Performance of SimCode: time 0.003752/0.4254, allocations: 1.905 MB / 0.6149 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Templates: time 0.02963/0.4551, allocations: 14.66 MB / 0.6292 GB, free: 14.3 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.306338084395975]