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.001689/0.001689, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002116/0.002116, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.431/1.431, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001868/0.001868, allocations: 59.89 kB / 378.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2193, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01795/0.2373, allocations: 13.14 MB / 445.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2526, allocations: 11.61 MB / 456.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2527, allocations: 0 / 456.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.2531, allocations: 71.55 kB / 456.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.2535, allocations: 91.42 kB / 457 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01466/0.2681, allocations: 5.096 MB / 462.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.2686, allocations: 234.9 kB / 462.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.2686, allocations: 5.641 kB / 462.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.2691, allocations: 207.3 kB / 462.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2693, allocations: 71.75 kB / 462.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.2693, allocations: 8 kB / 462.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.2824, allocations: 7.016 MB / 469.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.2825, allocations: 27.91 kB / 469.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.2826, allocations: 67.73 kB / 469.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007214/0.2898, allocations: 3.89 MB / 473.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2898, allocations: 0 / 473.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2898, allocations: 3.844 kB / 473.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2898, allocations: 0 / 473.6 MB, free: 13.47 MB / 382.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.004854/0.2947, allocations: 1.099 MB / 474.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2947, allocations: 8.031 kB / 474.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.2952, allocations: 52.84 kB / 474.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.2956, allocations: 166.2 kB / 474.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.2956, allocations: 8.656 kB / 474.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.2956, allocations: 16.38 kB / 475 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.297, allocations: 391.9 kB / 475.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.297, allocations: 3.984 kB / 475.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.297, allocations: 8 kB / 475.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.297, allocations: 4 kB / 475.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.2985, allocations: 359.5 kB / 475.7 MB, free: 11.29 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.001589/0.3001, allocations: 1.14 MB / 476.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.301, allocations: 275.8 kB / 477.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.3013, allocations: 110.9 kB / 477.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09715/0.3985, allocations: 26.01 MB / 0.4915 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.3985, allocations: 34.55 kB / 0.4915 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.003e-06/0.3985, allocations: 4 kB / 0.4915 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.007257/0.4058, allocations: 1.5 MB / 0.493 GB, free: 14.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.4058, allocations: 106.8 kB / 0.4931 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.406, allocations: 133.7 kB / 0.4932 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.406, allocations: 33.7 kB / 0.4932 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.4061, allocations: 108.5 kB / 0.4933 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4062, allocations: 122.9 kB / 0.4934 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.4063, allocations: 69.69 kB / 0.4935 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4065, allocations: 330.8 kB / 0.4938 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.4069, allocations: 135.7 kB / 0.4939 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.4074, allocations: 190.8 kB / 0.4941 GB, free: 12.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/0.4083, allocations: 358.5 kB / 0.4945 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4083, allocations: 0 / 0.4945 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001176/0.4095, allocations: 426.1 kB / 0.4949 GB, free: 11.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4095, allocations: 7.984 kB / 0.4949 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.4095, allocations: 7.984 kB / 0.4949 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.4097, allocations: 29.03 kB / 0.4949 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.4102, allocations: 95.88 kB / 0.495 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000455/0.4107, allocations: 0.5523 MB / 0.4955 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.4109, allocations: 15.98 kB / 0.4956 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.411, allocations: 19.98 kB / 0.4956 GB, free: 11.16 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.0001525/0.4111, allocations: 134.4 kB / 0.4957 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4113, allocations: 15.91 kB / 0.4957 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.4137, allocations: 1.5 MB / 0.4972 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.4137, allocations: 28 kB / 0.4972 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4137, allocations: 0 / 0.4972 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4137, allocations: 3.984 kB / 0.4972 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.417, allocations: 2.002 MB / 0.4992 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.417, allocations: 4 kB / 0.4992 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.4174, allocations: 83.98 kB / 0.4993 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/0.4177, allocations: 72.73 kB / 0.4993 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.4178, allocations: 15.98 kB / 0.4993 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000438/0.4182, allocations: 0.5953 MB / 0.4999 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4182, allocations: 7.922 kB / 0.4999 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.4208, allocations: 1.737 MB / 0.5016 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.4209, allocations: 59.56 kB / 0.5017 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.4209, allocations: 12 kB / 0.5017 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.4213, allocations: 23.92 kB / 0.5017 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.4214, allocations: 35.88 kB / 0.5018 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.4214, allocations: 11.98 kB / 0.5018 GB, free: 4.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.241e-05/0.4215, allocations: 95.58 kB / 0.5019 GB, free: 4.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4215, allocations: 4 kB / 0.5019 GB, free: 4.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002676/0.4241, allocations: 0.9708 MB / 0.5028 GB, free: 3.617 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.003629/0.4278, allocations: 1.138 MB / 0.5039 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.4292, allocations: 0.613 MB / 0.5045 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4292, allocations: 0 / 0.5045 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.43, allocations: 472.6 kB / 0.505 GB, free: 1.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/0.4308, allocations: 72.42 kB / 0.505 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.4333, allocations: 1.35 MB / 0.5064 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.4337, allocations: 0.8216 MB / 0.5072 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.4341, allocations: 133.7 kB / 0.5073 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4342, allocations: 35.41 kB / 0.5073 GB, free: 14.92 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.4342, allocations: 0 / 0.5073 GB, free: 14.92 MB / 430.1 MB Notification: Performance of Templates: time 0.2218/0.6559, allocations: 36.92 MB / 0.5434 GB, free: 107.2 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.081327226944268]