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.0007833/0.0007833, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.002938/0.002938, allocations: 153.4 kB / 24.7 MB, free: 8.898 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.8128/0.8128, allocations: 177 MB / 204.8 MB, free: 5.754 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.263e-06/1.263e-06, allocations: 0 / 325.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.663e-05, allocations: 4.953 kB / 325.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01016/0.01017, allocations: 11.91 MB / 337.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008238/0.01841, allocations: 10.14 MB / 347.8 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.01848, allocations: 3.938 kB / 347.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.01878, allocations: 63.58 kB / 347.9 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.01906, allocations: 83.31 kB / 347.9 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009274/0.02834, allocations: 5.096 MB / 353 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.0286, allocations: 242.8 kB / 353.3 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.02864, allocations: 5.641 kB / 353.3 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.02901, allocations: 219.3 kB / 353.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.02911, allocations: 63.81 kB / 353.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.02913, allocations: 8 kB / 353.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007983/0.03711, allocations: 6.699 MB / 360.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.03718, allocations: 27.91 kB / 360.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.03724, allocations: 51.91 kB / 360.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.04224, allocations: 4.982 MB / 365.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.04224, allocations: 0 / 365.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.04224, allocations: 0 / 365.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.04225, allocations: 0 / 365.3 MB, free: 7.684 MB / 330.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.002234/0.04448, allocations: 1.099 MB / 366.4 MB, free: 6.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.04452, allocations: 11.98 kB / 366.4 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.04477, allocations: 52.84 kB / 366.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.04504, allocations: 161.5 kB / 366.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.04506, allocations: 12.66 kB / 366.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.04509, allocations: 16.36 kB / 366.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.04577, allocations: 444.5 kB / 367.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.04578, allocations: 4.125 kB / 367.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.04581, allocations: 11.94 kB / 367.1 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.04581, allocations: 4 kB / 367.1 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.04648, allocations: 355.6 kB / 367.5 MB, free: 5.434 MB / 330.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.001087/0.04757, allocations: 0.9933 MB / 368.5 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.04801, allocations: 275.7 kB / 368.7 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.04816, allocations: 106.5 kB / 368.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04181/0.08998, allocations: 26.09 MB / 394.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.09001, allocations: 42.44 kB / 395 MB, free: 9.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.785e-06/0.09002, allocations: 0 / 395 MB, free: 9.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.003754/0.09377, allocations: 1.514 MB / 396.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.09381, allocations: 106.8 kB / 396.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.09389, allocations: 117.8 kB / 396.7 MB, free: 8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.09392, allocations: 33.7 kB / 396.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.09396, allocations: 108.6 kB / 396.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.09403, allocations: 126.9 kB / 397 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.09411, allocations: 69.69 kB / 397 MB, free: 7.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000324/0.09443, allocations: 322.8 kB / 397.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.09464, allocations: 147.6 kB / 397.5 MB, free: 7.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.09486, allocations: 190.8 kB / 397.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.0953, allocations: 354.6 kB / 398 MB, free: 6.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0953, allocations: 4 kB / 398 MB, free: 6.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005704/0.09587, allocations: 430.1 kB / 398.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.09589, allocations: 8.031 kB / 398.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.0959, allocations: 4 kB / 398.5 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/0.09605, allocations: 40.77 kB / 398.5 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.09627, allocations: 87.88 kB / 398.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002485/0.09652, allocations: 0.5368 MB / 399.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.09664, allocations: 28.08 kB / 399.2 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.09666, allocations: 11.98 kB / 399.2 MB, free: 5.426 MB / 362.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,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 9.815e-05/0.09676, allocations: 145.7 kB / 399.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.09681, allocations: 15.91 kB / 399.3 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.09804, allocations: 1.502 MB / 400.8 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.09806, allocations: 24 kB / 400.8 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.09806, allocations: 3.938 kB / 400.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.09807, allocations: 0 / 400.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.09968, allocations: 1.902 MB / 402.8 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.09969, allocations: 4 kB / 402.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.09989, allocations: 87.8 kB / 402.8 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.1001, allocations: 80.81 kB / 402.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.1001, allocations: 11.98 kB / 402.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002216/0.1003, allocations: 0.5914 MB / 403.5 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1003, allocations: 4 kB / 403.5 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.1017, allocations: 1.742 MB / 405.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.1017, allocations: 51.61 kB / 405.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1018, allocations: 8 kB / 405.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1019, allocations: 27.92 kB / 405.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.102, allocations: 35.88 kB / 405.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.102, allocations: 19.98 kB / 405.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.269e-05/0.102, allocations: 87.28 kB / 405.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.102, allocations: 0 / 405.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001725/0.1038, allocations: 0.9708 MB / 406.5 MB, free: 13.99 MB / 378.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.002438/0.1062, allocations: 1.278 MB / 407.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.107, allocations: 0.6205 MB / 408.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.107, allocations: 0 / 408.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.1074, allocations: 481.8 kB / 408.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1078, allocations: 79.03 kB / 408.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1091, allocations: 1.265 MB / 410.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.1093, allocations: 216.3 kB / 410.4 MB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.1094, allocations: 32.48 kB / 410.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1094, allocations: 4 kB / 410.4 MB, free: 9.957 MB / 378.7 MB Notification: Performance of Templates: time 0.01807/0.1274, allocations: 22.21 MB / 432.6 MB, free: 3.723 MB / 394.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=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.028070510365069]