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.002016/0.002016, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002402/0.002402, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.002005/0.002005, allocations: 67.91 kB / 378.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2282, allocations: 53.41 MB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0167/0.2449, allocations: 11.92 MB / 443.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.2593, allocations: 10.14 MB / 453.7 MB, free: 420 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2594, allocations: 0 / 453.7 MB, free: 420 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.2597, allocations: 63.59 kB / 453.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.2601, allocations: 87.42 kB / 453.8 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01393/0.274, allocations: 5.037 MB / 458.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.2744, allocations: 238.9 kB / 459.1 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2744, allocations: 9.578 kB / 459.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.2748, allocations: 191.3 kB / 459.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.275, allocations: 63.75 kB / 459.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.275, allocations: 8 kB / 459.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.2875, allocations: 6.681 MB / 466 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.2876, allocations: 31.89 kB / 466.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.2877, allocations: 59.73 kB / 466.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007156/0.2949, allocations: 3.886 MB / 470 MB, free: 52 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2949, allocations: 4 kB / 470 MB, free: 48 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2949, allocations: 0 / 470 MB, free: 48 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.2949, allocations: 0 / 470 MB, free: 48 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.004591/0.2995, allocations: 1.091 MB / 471.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2995, allocations: 15.98 kB / 471.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/0.3, allocations: 48.84 kB / 471.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.3003, allocations: 162.3 kB / 471.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.3004, allocations: 8.656 kB / 471.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.3004, allocations: 20.38 kB / 471.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3018, allocations: 444.5 kB / 471.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3018, allocations: 0 / 471.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.3018, allocations: 8 kB / 471.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3018, allocations: 4 kB / 471.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.3033, allocations: 351.5 kB / 472.1 MB, free: 13.82 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.001442/0.3048, allocations: 0.9972 MB / 473.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.3057, allocations: 271.7 kB / 473.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.306, allocations: 114.1 kB / 473.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09797/0.4039, allocations: 26.12 MB / 499.6 MB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.404, allocations: 34.56 kB / 499.7 MB, free: 2.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.404, allocations: 0 / 499.7 MB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007126/0.4111, allocations: 1.5 MB / 0.4894 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.4112, allocations: 114.8 kB / 0.4895 GB, free: 496 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4113, allocations: 125.7 kB / 0.4897 GB, free: 360 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.4114, allocations: 29.7 kB / 0.4897 GB, free: 324 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.4114, allocations: 108.6 kB / 0.4898 GB, free: 212 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4115, allocations: 126.9 kB / 0.4899 GB, free: 84 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4117, allocations: 65.69 kB / 0.49 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4118, allocations: 322.9 kB / 0.4903 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.4123, allocations: 139.7 kB / 0.4904 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.4127, allocations: 198.8 kB / 0.4906 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/0.4136, allocations: 342.6 kB / 0.4909 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4136, allocations: 0 / 0.4909 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001155/0.4148, allocations: 437.9 kB / 0.4913 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4148, allocations: 8 kB / 0.4914 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4148, allocations: 0 / 0.4914 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.415, allocations: 41.05 kB / 0.4914 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.4155, allocations: 91.88 kB / 0.4915 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004458/0.416, allocations: 0.5484 MB / 0.492 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.4162, allocations: 23.97 kB / 0.492 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.4163, allocations: 16 kB / 0.4921 GB, free: 13.78 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.0001519/0.4164, allocations: 134.8 kB / 0.4922 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4165, allocations: 15.91 kB / 0.4922 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.4189, allocations: 1.498 MB / 0.4937 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.4189, allocations: 19.91 kB / 0.4937 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4189, allocations: 4 kB / 0.4937 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4189, allocations: 0 / 0.4937 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.4221, allocations: 1.916 MB / 0.4956 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4221, allocations: 0 / 0.4956 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.4225, allocations: 79.86 kB / 0.4956 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.4229, allocations: 73.12 kB / 0.4957 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.4229, allocations: 20.11 kB / 0.4957 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004267/0.4233, allocations: 0.5836 MB / 0.4963 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4233, allocations: 7.969 kB / 0.4963 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.4258, allocations: 1.749 MB / 0.498 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.4259, allocations: 51.53 kB / 0.4981 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.4259, allocations: 8 kB / 0.4981 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.4263, allocations: 23.98 kB / 0.4981 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.4264, allocations: 39.81 kB / 0.4981 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.4264, allocations: 15.98 kB / 0.4981 GB, free: 7.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.4265, allocations: 91.27 kB / 0.4982 GB, free: 7.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4265, allocations: 4 kB / 0.4982 GB, free: 7.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002612/0.4291, allocations: 0.9708 MB / 0.4992 GB, free: 6.355 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.003765/0.4329, allocations: 1.155 MB / 0.5003 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.4343, allocations: 0.6091 MB / 0.5009 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4343, allocations: 0 / 0.5009 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008415/0.4352, allocations: 469.2 kB / 0.5013 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.436, allocations: 80.64 kB / 0.5014 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.4385, allocations: 1.349 MB / 0.5027 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.4387, allocations: 220.2 kB / 0.5029 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003632/0.4391, allocations: 137.7 kB / 0.5031 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.4392, allocations: 35.41 kB / 0.5031 GB, free: 2.254 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4392, allocations: 0 / 0.5031 GB, free: 2.254 MB / 414.1 MB Notification: Performance of Templates: time 0.2303/0.6696, allocations: 36.75 MB / 0.539 GB, free: 109.5 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.359000155702233]