Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001276/0.001276, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.007108/0.007108, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8823/0.8823, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 34.25 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.579e-05, allocations: 9.031 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2817/0.2817, allocations: 154.6 MB / 0.584 GB, free: 5.539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005022/0.2867, allocations: 4.927 MB / 0.5888 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.2872, allocations: 27.75 kB / 0.5889 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.2879, allocations: 313.9 kB / 0.5891 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.2903, allocations: 1.385 MB / 0.5905 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.2921, allocations: 1.089 MB / 0.5916 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.294, allocations: 1.89 MB / 0.5934 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.2945, allocations: 401.5 kB / 0.5938 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.2963, allocations: 1.34 MB / 0.5951 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008535/0.2971, allocations: 0.7351 MB / 0.5958 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.2972, allocations: 60 kB / 0.5959 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.2981, allocations: 0.5576 MB / 0.5964 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.2983, allocations: 283.1 kB / 0.5967 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.2986, allocations: 287.4 kB / 0.597 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.2999, allocations: 1.379 MB / 0.5983 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2999, allocations: 4.828 kB / 0.5983 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2999, allocations: 4 kB / 0.5983 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.2999, allocations: 0 / 0.5983 GB, free: 6.859 MB / 0.4948 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.001533/0.3014, allocations: 1.038 MB / 0.5993 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3015, allocations: 8.031 kB / 0.5993 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.3019, allocations: 143.4 kB / 0.5995 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.3025, allocations: 477.4 kB / 0.5999 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3026, allocations: 158.5 kB / 0.6001 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.3027, allocations: 51.94 kB / 0.6001 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.3038, allocations: 1.134 MB / 0.6012 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3038, allocations: 11.98 kB / 0.6013 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.3039, allocations: 27.98 kB / 0.6013 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.3039, allocations: 40.92 kB / 0.6013 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.3046, allocations: 0.6165 MB / 0.6019 GB, free: 2.938 MB / 0.4948 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.002527/0.3071, allocations: 3.219 MB / 0.6051 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.3075, allocations: 337 kB / 0.6054 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3077, allocations: 157.3 kB / 0.6055 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/0.3077, allocations: 24.22 kB / 0.6056 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3078, allocations: 38.84 kB / 0.6056 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/0.3078, allocations: 0 / 0.6056 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003036/0.3108, allocations: 1.587 MB / 0.6071 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.3109, allocations: 138.2 kB / 0.6073 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.3115, allocations: 0.5337 MB / 0.6078 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3116, allocations: 41.7 kB / 0.6078 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3117, allocations: 380.2 kB / 0.6082 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.3118, allocations: 150.7 kB / 0.6083 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3119, allocations: 154.6 kB / 0.6085 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.312, allocations: 366.8 kB / 0.6088 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3123, allocations: 205.9 kB / 0.609 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.3126, allocations: 0.588 MB / 0.6096 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.3132, allocations: 0.7516 MB / 0.6103 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3132, allocations: 4 kB / 0.6104 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008816/0.3141, allocations: 0.8728 MB / 0.6112 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3141, allocations: 8 kB / 0.6112 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3141, allocations: 8 kB / 0.6112 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/0.3149, allocations: 316 kB / 0.6115 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.3151, allocations: 119.8 kB / 0.6116 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007091/0.3158, allocations: 0.9344 MB / 0.6125 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.3161, allocations: 28 kB / 0.6126 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.3161, allocations: 71.98 kB / 0.6126 GB, free: 7.383 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.3164, allocations: 249.5 kB / 0.6129 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.3164, allocations: 67.52 kB / 0.6129 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/0.3174, allocations: 0.8541 MB / 0.6138 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3174, allocations: 8 kB / 0.6138 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3174, allocations: 0 / 0.6138 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3174, allocations: 3.984 kB / 0.6138 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.3189, allocations: 1.087 MB / 0.6149 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3189, allocations: 0 / 0.6149 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3194, allocations: 212 kB / 0.6151 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.428e-05/0.3194, allocations: 28.77 kB / 0.6151 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3195, allocations: 20.88 kB / 0.6151 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.3207, allocations: 2.623 MB / 0.6177 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3207, allocations: 4.031 kB / 0.6177 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.3214, allocations: 0.8105 MB / 0.6185 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.3216, allocations: 103.5 kB / 0.6186 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3216, allocations: 8 kB / 0.6186 GB, free: 1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.3218, allocations: 20.2 kB / 0.6186 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.3219, allocations: 47.88 kB / 0.6186 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.3219, allocations: 49.09 kB / 0.6187 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000285/0.3222, allocations: 362.8 kB / 0.619 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3222, allocations: 0 / 0.619 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006205/0.3228, allocations: 251.7 kB / 0.6193 GB, free: 296 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004798/0.3233, allocations: 302.4 kB / 0.6196 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007044/0.324, allocations: 0.527 MB / 0.6201 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.324, allocations: 11.89 kB / 0.6201 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.3245, allocations: 391.5 kB / 0.6205 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.3253, allocations: 313.1 kB / 0.6207 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3269, allocations: 1.267 MB / 0.622 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3271, allocations: 328.3 kB / 0.6223 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.3274, allocations: 132.4 kB / 0.6224 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/0.3274, allocations: 0 / 0.6224 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.1525/0.4798, allocations: 16.13 MB / 0.6382 GB, free: 165.2 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 6.99723943322897]