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.0008974/0.0008974, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.000958/0.000958, allocations: 172.6 kB / 25.33 MB, free: 9.191 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.8472/0.8472, allocations: 158.6 MB / 187.2 MB, free: 2.918 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 2.043e-06/2.043e-06, allocations: 3.938 kB / 251.1 MB, free: 7.453 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.14e-05, allocations: 2.312 kB / 251.1 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2724/0.2724, allocations: 146.1 MB / 397.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2737, allocations: 0.683 MB / 397.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.2739, allocations: 7.375 kB / 397.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.2743, allocations: 98.78 kB / 398 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.275, allocations: 382.2 kB / 398.3 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.2756, allocations: 368.2 kB / 398.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009104/0.2765, allocations: 0.9295 MB / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2767, allocations: 74.33 kB / 399.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.2783, allocations: 0.9108 MB / 400.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.2786, allocations: 252 kB / 400.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.2786, allocations: 31.28 kB / 400.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.2789, allocations: 115.1 kB / 401 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.279, allocations: 105 kB / 401.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2791, allocations: 142.9 kB / 401.2 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.2795, allocations: 375.3 kB / 401.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2795, allocations: 3.938 kB / 401.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2795, allocations: 2.75 kB / 401.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.2796, allocations: 4 kB / 401.6 MB, free: 9.566 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.000659/0.2802, allocations: 0.6171 MB / 402.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2803, allocations: 12.61 kB / 402.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.2806, allocations: 90.53 kB / 402.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2809, allocations: 223.2 kB / 402.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2809, allocations: 22.97 kB / 402.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.2809, allocations: 34 kB / 402.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.2813, allocations: 0.501 MB / 403.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2813, allocations: 0 / 403.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2814, allocations: 12.94 kB / 403.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.2814, allocations: 5.219 kB / 403.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.2816, allocations: 135.3 kB / 403.3 MB, free: 8.352 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.001102/0.2827, allocations: 1.448 MB / 404.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.2829, allocations: 138.6 kB / 404.8 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.283, allocations: 66.89 kB / 404.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.283, allocations: 5.75 kB / 404.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.283, allocations: 39.64 kB / 405 MB, free: 7.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.983e-06/0.283, allocations: 0 / 405 MB, free: 7.043 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.003062/0.2861, allocations: 1.078 MB / 406 MB, free: 6.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.2861, allocations: 57.97 kB / 406.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2863, allocations: 273.3 kB / 406.4 MB, free: 6.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2863, allocations: 29.14 kB / 406.4 MB, free: 6.219 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.2864, allocations: 231.3 kB / 406.6 MB, free: 6.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.2864, allocations: 100.7 kB / 406.7 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.2865, allocations: 77.33 kB / 406.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.2866, allocations: 0.5074 MB / 407.3 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/0.2866, allocations: 56.14 kB / 407.3 MB, free: 5.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2868, allocations: 193.6 kB / 407.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.287, allocations: 266.3 kB / 407.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.287, allocations: 4 kB / 407.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004207/0.2874, allocations: 335.5 kB / 408.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2875, allocations: 5.719 kB / 408.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2875, allocations: 5.844 kB / 408.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.2876, allocations: 59.84 kB / 408.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.2879, allocations: 85.98 kB / 408.3 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007765/0.2886, allocations: 2.548 MB / 410.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2888, allocations: 9.125 kB / 410.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.2888, allocations: 33.38 kB / 410.9 MB, free: 2.273 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.614e-05/0.2889, allocations: 186.5 kB / 411.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.289, allocations: 32.73 kB / 411.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.2895, allocations: 357.3 kB / 411.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2895, allocations: 3.062 kB / 411.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2895, allocations: 2.375 kB / 411.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002884/0.2898, allocations: 0.5029 MB / 411.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.2903, allocations: 0.6073 MB / 412.5 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2903, allocations: 0 / 412.5 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.2905, allocations: 61.61 kB / 412.6 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.503e-05/0.2906, allocations: 30.88 kB / 412.6 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.2906, allocations: 6.438 kB / 412.6 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006683/0.2913, allocations: 1.734 MB / 414.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2913, allocations: 3.938 kB / 414.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.2918, allocations: 431.9 kB / 414.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.2918, allocations: 21.61 kB / 414.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2918, allocations: 13.72 kB / 414.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2919, allocations: 9.25 kB / 414.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.2919, allocations: 24.14 kB / 414.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.292, allocations: 24.64 kB / 414.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.326e-05/0.292, allocations: 194.8 kB / 415.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.292, allocations: 0 / 415.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.2924, allocations: 124 kB / 415.2 MB, free: 14.79 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.0002591/0.2926, allocations: 146 kB / 415.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.293, allocations: 368.3 kB / 415.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.293, allocations: 7 kB / 415.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.2932, allocations: 259.7 kB / 416 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.2937, allocations: 141.7 kB / 416.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2947, allocations: 0.5994 MB / 416.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.2947, allocations: 98.41 kB / 416.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.295, allocations: 88.48 kB / 416.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.2951, allocations: 62.22 kB / 416.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2951, allocations: 0 / 416.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of Templates: time 0.009922/0.305, allocations: 8.462 MB / 425.4 MB, free: 9.262 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.1261533461511135]