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.001883/0.001883, allocations: 81.47 kB / 21.25 MB, free: 0.5469 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.002375/0.002375, allocations: 162.5 kB / 24.5 MB, free: 3.715 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.447/1.447, allocations: 177.1 MB / 204.7 MB, free: 8.945 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 0.002916/0.002916, allocations: 65.42 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1061, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01622/0.1223, allocations: 11.93 MB / 390.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1355, allocations: 10.12 MB / 400.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.825e-05/0.1356, allocations: 0 / 400.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1359, allocations: 67.58 kB / 401 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1362, allocations: 87.42 kB / 401.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.1482, allocations: 5.036 MB / 406.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1486, allocations: 238.9 kB / 406.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.768e-05/0.1486, allocations: 13.56 kB / 406.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.149, allocations: 187.3 kB / 406.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1492, allocations: 67.75 kB / 406.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1492, allocations: 8 kB / 406.6 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.1614, allocations: 6.685 MB / 413.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.1615, allocations: 23.92 kB / 413.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1616, allocations: 67.7 kB / 413.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006728/0.1683, allocations: 3.878 MB / 417.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1683, allocations: 3.938 kB / 417.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1683, allocations: 0 / 417.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1683, allocations: 0 / 417.3 MB, free: 8.957 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.004343/0.1727, allocations: 1.088 MB / 418.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1727, allocations: 11.98 kB / 418.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.1732, allocations: 52.84 kB / 418.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1735, allocations: 174.2 kB / 418.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1735, allocations: 12.66 kB / 418.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.1735, allocations: 12.38 kB / 418.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.1749, allocations: 440.5 kB / 419.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.175, allocations: 8 kB / 419.1 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.175, allocations: 8 kB / 419.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.175, allocations: 4 kB / 419.1 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.1765, allocations: 355.5 kB / 419.4 MB, free: 6.715 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.001495/0.178, allocations: 0.9931 MB / 420.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.1789, allocations: 271.8 kB / 420.7 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.1792, allocations: 114.4 kB / 420.8 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1089/0.2881, allocations: 26.11 MB / 446.9 MB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.2882, allocations: 42.56 kB / 447 MB, free: 11.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.2882, allocations: 0 / 447 MB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.007123/0.2953, allocations: 1.503 MB / 448.5 MB, free: 9.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.2954, allocations: 110.8 kB / 448.6 MB, free: 9.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2955, allocations: 121.8 kB / 448.7 MB, free: 9.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2955, allocations: 29.7 kB / 448.7 MB, free: 9.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.2956, allocations: 112.6 kB / 448.8 MB, free: 9.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2957, allocations: 127 kB / 448.9 MB, free: 8.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2958, allocations: 66.06 kB / 449 MB, free: 8.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.296, allocations: 322.8 kB / 449.3 MB, free: 8.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.2964, allocations: 139.7 kB / 449.5 MB, free: 8.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.2968, allocations: 198.8 kB / 449.7 MB, free: 8.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.2977, allocations: 346.5 kB / 450 MB, free: 7.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2977, allocations: 0 / 450 MB, free: 7.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001127/0.2989, allocations: 434 kB / 450.4 MB, free: 7.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2989, allocations: 8 kB / 450.4 MB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2989, allocations: 0 / 450.4 MB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.2991, allocations: 36.83 kB / 450.5 MB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.2996, allocations: 88.03 kB / 450.6 MB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004194/0.3, allocations: 0.5523 MB / 451.1 MB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.3003, allocations: 23.97 kB / 451.1 MB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.3003, allocations: 12 kB / 451.1 MB, free: 6.691 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.0001467/0.3005, allocations: 133.8 kB / 451.3 MB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.3006, allocations: 19.91 kB / 451.3 MB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.3029, allocations: 1.513 MB / 452.8 MB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.3029, allocations: 19.91 kB / 452.8 MB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3029, allocations: 4 kB / 452.8 MB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3029, allocations: 0 / 452.8 MB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.306, allocations: 1.909 MB / 454.7 MB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.306, allocations: 0 / 454.7 MB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.3065, allocations: 87.98 kB / 454.8 MB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.3068, allocations: 72.75 kB / 454.9 MB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3068, allocations: 19.92 kB / 454.9 MB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/0.3073, allocations: 0.5876 MB / 455.5 MB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3073, allocations: 0 / 455.5 MB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.3097, allocations: 1.746 MB / 457.2 MB, free: 468 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.3098, allocations: 59.56 kB / 457.3 MB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.3098, allocations: 8 kB / 457.3 MB, free: 400 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.3102, allocations: 15.98 kB / 457.3 MB, free: 384 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.3103, allocations: 39.81 kB / 457.4 MB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.3103, allocations: 19.98 kB / 457.4 MB, free: 324 kB / 414.1 MB Notification: Performance of sorting global known variables: time 6.747e-05/0.3104, allocations: 95.2 kB / 457.5 MB, free: 228 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3104, allocations: 0 / 457.5 MB, free: 228 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002542/0.3129, allocations: 0.9708 MB / 458.4 MB, free: 15.25 MB / 430.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.003948/0.3169, allocations: 1.156 MB / 459.6 MB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.3183, allocations: 0.6088 MB / 460.2 MB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3183, allocations: 0 / 460.2 MB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000815/0.3191, allocations: 473.6 kB / 460.7 MB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.3199, allocations: 72.3 kB / 460.7 MB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.3223, allocations: 1.337 MB / 462.1 MB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.3225, allocations: 208.3 kB / 462.3 MB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.3229, allocations: 142 kB / 462.4 MB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.323, allocations: 40.47 kB / 462.5 MB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.323, allocations: 4 kB / 462.5 MB, free: 11.16 MB / 430.1 MB Notification: Performance of Templates: time 0.204/0.527, allocations: 36.38 MB / 498.9 MB, free: 75.14 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/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.060755094047636]