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.001972/0.001972, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.002504/0.002504, allocations: 158.6 kB / 23.95 MB, free: 4.168 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.464/1.464, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.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 2.554e-06/2.554e-06, allocations: 0.9375 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.301e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01788/0.01792, allocations: 11.92 MB / 336.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.03217, allocations: 10.13 MB / 347 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.03232, allocations: 3.938 kB / 347 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.03269, allocations: 59.59 kB / 347.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.03315, allocations: 103.2 kB / 347.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01677/0.04992, allocations: 5.083 MB / 352.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.05038, allocations: 246.7 kB / 352.5 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.711e-05/0.05044, allocations: 13.64 kB / 352.5 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.05111, allocations: 211.3 kB / 352.7 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.05127, allocations: 59.86 kB / 352.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.0513, allocations: 8 kB / 352.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.06596, allocations: 6.699 MB / 359.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.06606, allocations: 27.89 kB / 359.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.0662, allocations: 47.92 kB / 359.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.0763, allocations: 4.993 MB / 364.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.07631, allocations: 4 kB / 364.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.07631, allocations: 0 / 364.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.07632, allocations: 0 / 364.6 MB, free: 13.41 MB / 334.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.004885/0.0812, allocations: 1.088 MB / 365.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.08124, allocations: 15.98 kB / 365.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005729/0.08182, allocations: 44.84 kB / 365.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.08215, allocations: 161.5 kB / 365.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.08219, allocations: 16.66 kB / 365.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.08224, allocations: 24.3 kB / 365.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.08368, allocations: 433.1 kB / 366.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.0837, allocations: 12.12 kB / 366.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.08374, allocations: 11.94 kB / 366.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.08375, allocations: 4 kB / 366.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.08533, allocations: 347.6 kB / 366.7 MB, free: 11.18 MB / 334.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.001479/0.08681, allocations: 0.9972 MB / 367.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.0878, allocations: 279.8 kB / 368 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.0881, allocations: 106.5 kB / 368.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1003/0.1884, allocations: 26.09 MB / 394.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.1884, allocations: 38.5 kB / 394.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.1884, allocations: 4 kB / 394.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.007742/0.1962, allocations: 1.503 MB / 395.7 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.1963, allocations: 106.8 kB / 395.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1964, allocations: 121.8 kB / 395.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.1964, allocations: 29.7 kB / 396 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.1965, allocations: 108.6 kB / 396.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1967, allocations: 131 kB / 396.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1968, allocations: 65.69 kB / 396.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.197, allocations: 326.8 kB / 396.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.1974, allocations: 135.7 kB / 396.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.1979, allocations: 194.7 kB / 396.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/0.1988, allocations: 354.6 kB / 397.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1988, allocations: 4 kB / 397.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001309/0.2002, allocations: 434 kB / 397.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.2002, allocations: 8 kB / 397.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2002, allocations: 0 / 397.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/0.2006, allocations: 36.78 kB / 397.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/0.2013, allocations: 88.25 kB / 397.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004861/0.2018, allocations: 0.5564 MB / 398.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.2021, allocations: 20.02 kB / 398.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.2021, allocations: 19.98 kB / 398.4 MB, free: 11.16 MB / 366.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.0001718/0.2023, allocations: 137.7 kB / 398.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2024, allocations: 19.84 kB / 398.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.2049, allocations: 1.491 MB / 400.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/0.205, allocations: 31.89 kB / 400.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.205, allocations: 7.938 kB / 400.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.205, allocations: 0 / 400.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.2082, allocations: 1.906 MB / 402 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2082, allocations: 4 kB / 402 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.2087, allocations: 80 kB / 402.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.2091, allocations: 80.67 kB / 402.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.2091, allocations: 16 kB / 402.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004518/0.2096, allocations: 0.5836 MB / 402.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.2096, allocations: 12.02 kB / 402.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.2122, allocations: 1.742 MB / 404.5 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.2123, allocations: 43.58 kB / 404.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.2123, allocations: 16.03 kB / 404.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.2127, allocations: 23.98 kB / 404.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.2128, allocations: 35.88 kB / 404.6 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.2129, allocations: 15.98 kB / 404.6 MB, free: 4.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.565e-05/0.2129, allocations: 87.28 kB / 404.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2129, allocations: 0 / 404.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002661/0.2156, allocations: 0.9747 MB / 405.7 MB, free: 3.727 MB / 366.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.004783/0.2204, allocations: 1.285 MB / 407 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.2219, allocations: 0.6126 MB / 407.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2219, allocations: 0 / 407.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008859/0.2228, allocations: 473.8 kB / 408.1 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.2236, allocations: 88.2 kB / 408.2 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.2261, allocations: 1.24 MB / 409.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.2263, allocations: 208.3 kB / 409.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000372/0.2267, allocations: 137.7 kB / 409.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.2269, allocations: 44.47 kB / 409.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2269, allocations: 0 / 409.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Templates: time 0.0564/0.2833, allocations: 36.47 MB / 446.2 MB, free: 11.16 MB / 414.1 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=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: 6.993635773658752]