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.001049/0.001049, allocations: 75.75 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.001057/0.001057, allocations: 168.9 kB / 25.33 MB, free: 9.105 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.8996/0.8996, allocations: 158.6 MB / 187.2 MB, free: 2.938 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.734e-06/1.734e-06, allocations: 0 / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.112e-05, allocations: 2.312 kB / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3126/0.3126, allocations: 146.1 MB / 397.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000918/0.3136, allocations: 0.6909 MB / 397.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3137, allocations: 4.766 kB / 397.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.3141, allocations: 93.48 kB / 398 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005584/0.3146, allocations: 389.3 kB / 398.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.3152, allocations: 354.5 kB / 398.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.3159, allocations: 0.9294 MB / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3161, allocations: 80.12 kB / 399.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.3175, allocations: 0.9095 MB / 400.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3178, allocations: 251.3 kB / 400.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.3178, allocations: 31.69 kB / 400.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.318, allocations: 121.4 kB / 401 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.3181, allocations: 101.7 kB / 401.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3182, allocations: 142 kB / 401.2 MB, free: 9.684 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.3186, allocations: 372.5 kB / 401.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3186, allocations: 3.5 kB / 401.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3186, allocations: 0 / 401.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3186, allocations: 0 / 401.6 MB, free: 9.57 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.0005661/0.3192, allocations: 0.623 MB / 402.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3192, allocations: 13.02 kB / 402.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.3195, allocations: 89.39 kB / 402.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3197, allocations: 232.2 kB / 402.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3197, allocations: 15.66 kB / 402.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.3198, allocations: 38.69 kB / 402.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.3201, allocations: 0.4988 MB / 403.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3201, allocations: 2.938 kB / 403.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3201, allocations: 10.16 kB / 403.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3201, allocations: 5.562 kB / 403.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3203, allocations: 135.4 kB / 403.3 MB, free: 8.348 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.0009672/0.3213, allocations: 1.452 MB / 404.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3215, allocations: 135.1 kB / 404.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.3215, allocations: 70.33 kB / 404.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3216, allocations: 5.656 kB / 404.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3216, allocations: 40.11 kB / 405 MB, free: 7.039 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.3216, allocations: 3.938 kB / 405 MB, free: 7.035 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.002628/0.3242, allocations: 1.073 MB / 406 MB, free: 6.512 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.3242, allocations: 58.06 kB / 406.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3244, allocations: 274 kB / 406.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3244, allocations: 28.83 kB / 406.4 MB, free: 6.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.3245, allocations: 224.8 kB / 406.6 MB, free: 6.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.3245, allocations: 102.1 kB / 406.7 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.3246, allocations: 80.91 kB / 406.8 MB, free: 5.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.3247, allocations: 0.5078 MB / 407.3 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.3248, allocations: 52.19 kB / 407.3 MB, free: 5.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3249, allocations: 193.4 kB / 407.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3251, allocations: 267.1 kB / 407.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3251, allocations: 4 kB / 407.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003493/0.3254, allocations: 337.9 kB / 408.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3254, allocations: 5.812 kB / 408.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3255, allocations: 7 kB / 408.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.3256, allocations: 59.53 kB / 408.2 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.3258, allocations: 81.03 kB / 408.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007331/0.3265, allocations: 2.553 MB / 410.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.3266, allocations: 8.688 kB / 410.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.3267, allocations: 33.19 kB / 410.9 MB, free: 2.27 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 8.499e-05/0.3267, allocations: 183 kB / 411 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.3268, allocations: 32.45 kB / 411.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.3272, allocations: 357.2 kB / 411.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3272, allocations: 6.656 kB / 411.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3272, allocations: 2.812 kB / 411.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002383/0.3274, allocations: 0.503 MB / 411.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.3279, allocations: 0.6025 MB / 412.5 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3279, allocations: 0 / 412.5 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.3281, allocations: 68.92 kB / 412.6 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.568e-05/0.3282, allocations: 31.62 kB / 412.6 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3282, allocations: 9.406 kB / 412.6 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3292, allocations: 1.727 MB / 414.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3292, allocations: 3.938 kB / 414.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.3296, allocations: 427.9 kB / 414.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.3297, allocations: 25.75 kB / 414.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.3297, allocations: 10.22 kB / 414.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3298, allocations: 12.81 kB / 414.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3298, allocations: 20.02 kB / 414.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3298, allocations: 24.39 kB / 414.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.3299, allocations: 191.5 kB / 415.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 0 / 415.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.3303, allocations: 127.9 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.0002726/0.3305, allocations: 150 kB / 415.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.331, allocations: 368.5 kB / 415.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.331, allocations: 7 kB / 415.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.3311, allocations: 256.5 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.0004634/0.3316, allocations: 146.2 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.001169/0.3328, allocations: 0.6049 MB / 416.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.3328, allocations: 94.48 kB / 416.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.3331, allocations: 92.62 kB / 416.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3332, allocations: 54.64 kB / 416.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.512e-06/0.3332, allocations: 0 / 416.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of Templates: time 0.00958/0.3428, allocations: 7.759 MB / 424.7 MB, free: 9.645 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.351286055985838]