Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.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.0009157/0.0009157, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0008978/0.0008978, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9207/0.9207, allocations: 177 MB / 205.2 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.687e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01087/0.01089, allocations: 13.04 MB / 286.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1215/0.1324, allocations: 11.23 MB / 297.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1325, allocations: 1.094 kB / 297.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1328, allocations: 65.72 kB / 297.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.133, allocations: 89.42 kB / 297.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01166/0.1447, allocations: 4.62 MB / 302.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.145, allocations: 241.4 kB / 302.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.1451, allocations: 14.52 kB / 302.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.1455, allocations: 210.5 kB / 302.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.1455, allocations: 66.41 kB / 303 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1456, allocations: 7.156 kB / 303 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.1558, allocations: 7.179 MB / 310.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1559, allocations: 27.98 kB / 310.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.156, allocations: 48.36 kB / 310.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.1621, allocations: 4.963 MB / 315.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1621, allocations: 0 / 315.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1621, allocations: 0 / 315.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1621, allocations: 7.938 kB / 315.2 MB, free: 7.168 MB / 266.7 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.002038/0.1641, allocations: 0.9877 MB / 316.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1642, allocations: 11.98 kB / 316.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.1645, allocations: 88.33 kB / 316.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1646, allocations: 141.6 kB / 316.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1646, allocations: 15.75 kB / 316.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1647, allocations: 24.31 kB / 316.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.1652, allocations: 395.2 kB / 316.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1652, allocations: 384 / 316.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1652, allocations: 15.94 kB / 316.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1652, allocations: 4 kB / 316.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.1656, allocations: 222.3 kB / 317.1 MB, free: 5.211 MB / 266.7 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.0005544/0.1662, allocations: 0.8943 MB / 318 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.1665, allocations: 229.9 kB / 318.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.1666, allocations: 62.33 kB / 318.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1153/0.2819, allocations: 67.31 MB / 385.6 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.282, allocations: 42.5 kB / 385.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.136e-06/0.282, allocations: 2.906 kB / 385.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002943/0.2849, allocations: 1.209 MB / 386.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2849, allocations: 110.8 kB / 386.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.285, allocations: 124.4 kB / 387.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.285, allocations: 33.7 kB / 387.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.2851, allocations: 104.5 kB / 387.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.2851, allocations: 126.9 kB / 387.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.2852, allocations: 61.67 kB / 387.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.2853, allocations: 330.8 kB / 387.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.2854, allocations: 55.97 kB / 387.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.875e-05/0.2855, allocations: 134.6 kB / 387.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.2857, allocations: 210.2 kB / 388.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2857, allocations: 8 kB / 388.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002796/0.2859, allocations: 246.8 kB / 388.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.286, allocations: 8 kB / 388.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.286, allocations: 0 / 388.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.2861, allocations: 29 kB / 388.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2863, allocations: 91.88 kB / 388.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002261/0.2865, allocations: 0.525 MB / 389 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.2866, allocations: 13.62 kB / 389 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2867, allocations: 11.98 kB / 389 MB, free: 13.07 MB / 346.7 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,state2.phase,state.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 9.432e-05/0.2868, allocations: 140.5 kB / 389.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.2868, allocations: 19.98 kB / 389.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007548/0.2876, allocations: 0.8858 MB / 390.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.2876, allocations: 19.97 kB / 390.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2876, allocations: 3.984 kB / 390.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2876, allocations: 0 / 390.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.2886, allocations: 1.066 MB / 391.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2887, allocations: 128 / 391.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.2889, allocations: 87.86 kB / 391.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.289, allocations: 43.64 kB / 391.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.289, allocations: 15.98 kB / 391.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001958/0.2892, allocations: 0.5382 MB / 391.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2892, allocations: 4.062 kB / 391.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.2899, allocations: 1.003 MB / 392.8 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.29, allocations: 51.53 kB / 392.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.29, allocations: 8 kB / 392.9 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2901, allocations: 11.98 kB / 392.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.2902, allocations: 31.89 kB / 392.9 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.2902, allocations: 15.98 kB / 392.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.2902, allocations: 25.48 kB / 393 MB, free: 8.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2902, allocations: 0 / 393 MB, free: 8.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002235/0.2925, allocations: 0.9707 MB / 393.9 MB, free: 8.004 MB / 346.7 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.003702/0.2962, allocations: 1.371 MB / 395.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.2967, allocations: 311 kB / 395.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.2967, allocations: 4.125 kB / 395.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.297, allocations: 235.5 kB / 395.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.2974, allocations: 93.19 kB / 395.9 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.299, allocations: 1.02 MB / 397 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.647e-05/0.2991, allocations: 131.8 kB / 397.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.2993, allocations: 132.7 kB / 397.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.2995, allocations: 127.3 kB / 397.3 MB, free: 4.531 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2995, allocations: 4 kB / 397.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of Templates: time 0.1546/0.4541, allocations: 41.52 MB / 438.9 MB, free: 119.7 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.210931014735252]