Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.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.001449/0.001449, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001607/0.001607, allocations: 209 kB / 24.48 MB, free: 3.938 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 55.92 kB / 378.9 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2465, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01682/0.2633, allocations: 11.92 MB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.277, allocations: 10.14 MB / 454.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.2771, allocations: 0 / 454.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.2775, allocations: 59.59 kB / 454.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.2778, allocations: 87.42 kB / 454.5 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01368/0.2915, allocations: 5.039 MB / 459.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.2919, allocations: 230.9 kB / 459.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.2919, allocations: 13.64 kB / 459.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.2924, allocations: 187.3 kB / 460 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2925, allocations: 71.75 kB / 460 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.2925, allocations: 8 kB / 460.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/0.3055, allocations: 6.673 MB / 466.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3056, allocations: 35.89 kB / 466.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3057, allocations: 59.73 kB / 466.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008985/0.3147, allocations: 3.878 MB / 470.7 MB, free: 216 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3147, allocations: 0 / 470.7 MB, free: 216 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3147, allocations: 0 / 470.7 MB, free: 216 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3147, allocations: 0 / 470.7 MB, free: 216 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004883/0.3196, allocations: 1.099 MB / 471.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3196, allocations: 15.97 kB / 471.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/0.3201, allocations: 48.84 kB / 471.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3205, allocations: 162.3 kB / 472 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.3205, allocations: 12.66 kB / 472 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.3206, allocations: 12.38 kB / 472 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3219, allocations: 444.2 kB / 472.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.322, allocations: 4 kB / 472.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.322, allocations: 8 kB / 472.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.322, allocations: 4 kB / 472.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.3234, allocations: 359.5 kB / 472.8 MB, free: 13.96 MB / 382.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.001459/0.3249, allocations: 0.9895 MB / 473.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/0.3258, allocations: 277.4 kB / 474.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.326, allocations: 114.5 kB / 474.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09381/0.4198, allocations: 26.11 MB / 0.4886 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.154e-05/0.4199, allocations: 38.55 kB / 0.4886 GB, free: 2.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.4199, allocations: 0 / 0.4886 GB, free: 2.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.006765/0.4267, allocations: 1.511 MB / 0.4901 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.4267, allocations: 110.8 kB / 0.4902 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4269, allocations: 117.8 kB / 0.4903 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.4269, allocations: 37.64 kB / 0.4904 GB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.427, allocations: 108.6 kB / 0.4905 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4271, allocations: 122.9 kB / 0.4906 GB, free: 236 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.4272, allocations: 69.69 kB / 0.4907 GB, free: 160 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4274, allocations: 322.8 kB / 0.491 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.4278, allocations: 143.7 kB / 0.4911 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.4282, allocations: 194.8 kB / 0.4913 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/0.429, allocations: 342.6 kB / 0.4916 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.429, allocations: 0 / 0.4916 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001143/0.4302, allocations: 434.5 kB / 0.492 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4302, allocations: 8 kB / 0.492 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4302, allocations: 4 kB / 0.492 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.4304, allocations: 36.83 kB / 0.4921 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.4309, allocations: 91.81 kB / 0.4922 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004264/0.4313, allocations: 0.5445 MB / 0.4927 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.4316, allocations: 32.06 kB / 0.4927 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.4317, allocations: 16 kB / 0.4927 GB, free: 13.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.4318, allocations: 129.8 kB / 0.4929 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.4319, allocations: 15.91 kB / 0.4929 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.4343, allocations: 1.498 MB / 0.4943 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/0.4343, allocations: 27.94 kB / 0.4944 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4343, allocations: 0 / 0.4944 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4343, allocations: 0 / 0.4944 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.4374, allocations: 1.912 MB / 0.4962 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.4374, allocations: 4 kB / 0.4962 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.4378, allocations: 83.86 kB / 0.4963 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.4381, allocations: 76.88 kB / 0.4964 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.4381, allocations: 11.98 kB / 0.4964 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004416/0.4386, allocations: 0.5876 MB / 0.497 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4386, allocations: 3.938 kB / 0.497 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.4411, allocations: 1.737 MB / 0.4987 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.4412, allocations: 55.56 kB / 0.4987 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.4412, allocations: 8 kB / 0.4987 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.4416, allocations: 23.98 kB / 0.4988 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.4416, allocations: 43.81 kB / 0.4988 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.4417, allocations: 15.98 kB / 0.4988 GB, free: 7.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.4418, allocations: 91.27 kB / 0.4989 GB, free: 7.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4418, allocations: 0 / 0.4989 GB, free: 7.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002878/0.4446, allocations: 0.9669 MB / 0.4998 GB, free: 6.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004167/0.4488, allocations: 1.155 MB / 0.501 GB, free: 5.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.4504, allocations: 0.6129 MB / 0.5016 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4504, allocations: 0 / 0.5016 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.4512, allocations: 470.1 kB / 0.502 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.452, allocations: 71.86 kB / 0.5021 GB, free: 4.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.4545, allocations: 1.38 MB / 0.5034 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.4547, allocations: 212.2 kB / 0.5036 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4549, allocations: 43.41 kB / 0.5037 GB, free: 2.5 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4549, allocations: 0 / 0.5037 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Templates: time 0.03528/0.4902, allocations: 22.06 MB / 0.5252 GB, free: 12.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.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: 10.014980493113399]