Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.0009006/0.0009006, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004922/0.004922, allocations: 162.5 kB / 24.7 MB, free: 8.879 MB / 18.57 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 0.8212/0.8212, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2073/0.2073, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.948e-05, allocations: 2.281 kB / 443.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2623/0.2623, allocations: 154.6 MB / 0.584 GB, free: 5.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00439/0.2667, allocations: 4.919 MB / 0.5888 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.267, allocations: 35.69 kB / 0.5889 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.2676, allocations: 305.9 kB / 0.5892 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.2698, allocations: 1.392 MB / 0.5905 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.2716, allocations: 1.086 MB / 0.5916 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.2728, allocations: 1.882 MB / 0.5934 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.2732, allocations: 401.9 kB / 0.5938 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.2746, allocations: 1.336 MB / 0.5951 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007523/0.2754, allocations: 0.7404 MB / 0.5958 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.2754, allocations: 67.66 kB / 0.5959 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/0.2762, allocations: 0.5537 MB / 0.5964 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.2764, allocations: 287.1 kB / 0.5967 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.2766, allocations: 283.4 kB / 0.597 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.278, allocations: 1.379 MB / 0.5983 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.278, allocations: 0 / 0.5983 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.364e-06/0.278, allocations: 4 kB / 0.5983 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.278, allocations: 0 / 0.5983 GB, free: 6.988 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.001386/0.2794, allocations: 1.041 MB / 0.5993 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2794, allocations: 8.031 kB / 0.5993 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.2799, allocations: 151.4 kB / 0.5995 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.2804, allocations: 477.4 kB / 0.5999 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2805, allocations: 155.8 kB / 0.6001 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.2806, allocations: 47.98 kB / 0.6001 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008867/0.2815, allocations: 1.144 MB / 0.6013 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2815, allocations: 0 / 0.6013 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.2815, allocations: 23.98 kB / 0.6013 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.2816, allocations: 40.97 kB / 0.6013 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.2822, allocations: 0.6243 MB / 0.6019 GB, free: 3.047 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.002688/0.2849, allocations: 3.216 MB / 0.6051 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.2853, allocations: 334.3 kB / 0.6054 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.2855, allocations: 162.4 kB / 0.6055 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.2855, allocations: 12.28 kB / 0.6056 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2856, allocations: 38.84 kB / 0.6056 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.2856, allocations: 0 / 0.6056 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002954/0.2885, allocations: 1.601 MB / 0.6072 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.2886, allocations: 136.5 kB / 0.6073 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.289, allocations: 0.5259 MB / 0.6078 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.289, allocations: 37.7 kB / 0.6078 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.2892, allocations: 384.2 kB / 0.6082 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.2892, allocations: 150.7 kB / 0.6083 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.2894, allocations: 162.6 kB / 0.6085 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2895, allocations: 366.8 kB / 0.6089 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.2897, allocations: 205.8 kB / 0.609 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.2901, allocations: 0.589 MB / 0.6096 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.2907, allocations: 0.7477 MB / 0.6104 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2907, allocations: 4 kB / 0.6104 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008843/0.2916, allocations: 0.8764 MB / 0.6112 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2916, allocations: 8.781 kB / 0.6112 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2917, allocations: 12.09 kB / 0.6112 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.2924, allocations: 319.9 kB / 0.6115 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2926, allocations: 119.8 kB / 0.6117 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/0.2936, allocations: 0.9348 MB / 0.6126 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2938, allocations: 28 kB / 0.6126 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.2938, allocations: 67.98 kB / 0.6127 GB, free: 7.488 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.0002084/0.2941, allocations: 248.8 kB / 0.6129 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.2941, allocations: 71.52 kB / 0.613 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.2951, allocations: 0.851 MB / 0.6138 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2951, allocations: 4 kB / 0.6138 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2951, allocations: 0 / 0.6138 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.2951, allocations: 7.984 kB / 0.6138 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.2962, allocations: 1.09 MB / 0.6149 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2962, allocations: 0 / 0.6149 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.2967, allocations: 207.8 kB / 0.6151 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.918e-05/0.2968, allocations: 32.97 kB / 0.6151 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.2968, allocations: 19.98 kB / 0.6151 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.298, allocations: 2.624 MB / 0.6177 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2981, allocations: 4.031 kB / 0.6177 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.2988, allocations: 0.8025 MB / 0.6185 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.2989, allocations: 103.5 kB / 0.6186 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.299, allocations: 16 kB / 0.6186 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2991, allocations: 15.98 kB / 0.6186 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.2992, allocations: 35.94 kB / 0.6186 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.2992, allocations: 43.98 kB / 0.6187 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000531/0.2998, allocations: 363 kB / 0.619 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2998, allocations: 4 kB / 0.619 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005913/0.3004, allocations: 251.7 kB / 0.6193 GB, free: 424 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.0005051/0.3009, allocations: 315.7 kB / 0.6196 GB, free: 100 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007098/0.3016, allocations: 0.5239 MB / 0.6201 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3016, allocations: 3.953 kB / 0.6201 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/0.3021, allocations: 394.3 kB / 0.6205 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.3029, allocations: 307.5 kB / 0.6208 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3043, allocations: 1.284 MB / 0.622 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.3045, allocations: 328.3 kB / 0.6223 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.3047, allocations: 128.4 kB / 0.6224 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.3047, allocations: 0 / 0.6224 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.1521/0.4568, allocations: 16.13 MB / 0.6382 GB, free: 165.1 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.907170292921364]