Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 85.95 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 165.4 kB / 25.6 MB, free: 8.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9464/0.9464, allocations: 158.6 MB / 187.5 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 3.938 kB / 251.5 MB, free: 7.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.896e-05, allocations: 2.312 kB / 251.5 MB, free: 7.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.279/0.279, allocations: 143.3 MB / 394.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2802, allocations: 0.6825 MB / 395.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.2803, allocations: 3.031 kB / 395.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.2807, allocations: 101.8 kB / 395.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007056/0.2814, allocations: 387.5 kB / 396 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.2821, allocations: 360.2 kB / 396.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009638/0.283, allocations: 0.9313 MB / 397.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.2832, allocations: 76.88 kB / 397.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.2849, allocations: 0.9064 MB / 398.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.2853, allocations: 247.5 kB / 398.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.2853, allocations: 30.25 kB / 398.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.2856, allocations: 130.7 kB / 398.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.2857, allocations: 98.58 kB / 398.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2858, allocations: 145 kB / 398.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.2862, allocations: 373.1 kB / 399.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2862, allocations: 0 / 399.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2862, allocations: 0 / 399.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2862, allocations: 2.625 kB / 399.3 MB, free: 10.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005698/0.2868, allocations: 0.6209 MB / 399.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2868, allocations: 16.36 kB / 399.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.287, allocations: 88.59 kB / 400 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.2873, allocations: 228 kB / 400.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2873, allocations: 16.5 kB / 400.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.2873, allocations: 41.77 kB / 400.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.2876, allocations: 487.8 kB / 400.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2876, allocations: 3.984 kB / 400.8 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.2876, allocations: 13.53 kB / 400.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2876, allocations: 8.375 kB / 400.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2877, allocations: 116.2 kB / 400.9 MB, free: 8.969 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.0008555/0.2886, allocations: 1.416 MB / 402.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2887, allocations: 114.4 kB / 402.4 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.2888, allocations: 65.38 kB / 402.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2888, allocations: 7.5 kB / 402.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2888, allocations: 42.52 kB / 402.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.2888, allocations: 0 / 402.5 MB, free: 7.695 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002314/0.2912, allocations: 0.9631 MB / 403.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/0.2912, allocations: 54.34 kB / 403.6 MB, free: 7.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2913, allocations: 270.5 kB / 403.8 MB, free: 6.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2913, allocations: 39.52 kB / 403.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.2914, allocations: 221.6 kB / 404.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.2914, allocations: 102.2 kB / 404.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.2915, allocations: 84.45 kB / 404.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.2916, allocations: 0.5092 MB / 404.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.2916, allocations: 41.09 kB / 404.8 MB, free: 6.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.2917, allocations: 187.1 kB / 405 MB, free: 5.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.2919, allocations: 246.1 kB / 405.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2919, allocations: 0 / 405.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003519/0.2922, allocations: 324.1 kB / 405.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2922, allocations: 5.188 kB / 405.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2923, allocations: 5.562 kB / 405.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.2924, allocations: 76.8 kB / 405.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.2926, allocations: 81.97 kB / 405.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007125/0.2933, allocations: 2.532 MB / 408.2 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2934, allocations: 14.12 kB / 408.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.2935, allocations: 32.36 kB / 408.3 MB, free: 2.984 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.151e-05/0.2936, allocations: 182.9 kB / 408.5 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.2936, allocations: 31.8 kB / 408.5 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.294, allocations: 344.3 kB / 408.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.294, allocations: 3.031 kB / 408.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.294, allocations: 2 kB / 408.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000199/0.2942, allocations: 499.3 kB / 409.3 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.2947, allocations: 0.5509 MB / 409.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2947, allocations: 0 / 409.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2949, allocations: 68.83 kB / 409.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.058e-05/0.295, allocations: 24.05 kB / 410 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.295, allocations: 9.031 kB / 410 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004539/0.2954, allocations: 1.704 MB / 411.7 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2954, allocations: 3.469 kB / 411.7 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.2958, allocations: 418.2 kB / 412.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.2958, allocations: 24.42 kB / 412.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.2958, allocations: 7.547 kB / 412.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.296, allocations: 8.938 kB / 412.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.296, allocations: 23.69 kB / 412.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.296, allocations: 20.3 kB / 412.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.161e-05/0.2961, allocations: 189.8 kB / 412.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2961, allocations: 0 / 412.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.2965, allocations: 119.2 kB / 412.5 MB, free: 15.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/0.2968, allocations: 156.3 kB / 412.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.2972, allocations: 346.8 kB / 413 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2972, allocations: 3.125 kB / 413 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2974, allocations: 256 kB / 413.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.2978, allocations: 159.6 kB / 413.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2989, allocations: 0.5865 MB / 414 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.299, allocations: 93.14 kB / 414.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002433/0.2992, allocations: 102.2 kB / 414.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.2995, allocations: 219.4 kB / 414.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2995, allocations: 1.969 kB / 414.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Templates: time 0.01039/0.3099, allocations: 8.595 MB / 423 MB, free: 9.898 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2516854209825397]