Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.001334/0.001334, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001452/0.001452, allocations: 208.8 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 51.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2306, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02921/0.2598, allocations: 24.71 MB / 456.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02839/0.2882, allocations: 22.07 MB / 478.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.2887, allocations: 7.938 kB / 478.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009739/0.2896, allocations: 274.5 kB / 478.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2906, allocations: 381.9 kB / 479 MB, free: 7.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.302, allocations: 4.11 MB / 483.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.3034, allocations: 0.9542 MB / 484.1 MB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.3036, allocations: 73.23 kB / 484.2 MB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/0.3042, allocations: 410.6 kB / 484.6 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.3046, allocations: 294.8 kB / 484.8 MB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.3047, allocations: 36 kB / 484.9 MB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/0.3243, allocations: 10.14 MB / 495 MB, free: 7.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.3246, allocations: 107.6 kB / 495.1 MB, free: 7.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.3249, allocations: 203.3 kB / 495.3 MB, free: 6.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03285/0.3578, allocations: 11.5 MB / 0.4949 GB, free: 11.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3578, allocations: 4 kB / 0.495 GB, free: 11.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3578, allocations: 0 / 0.495 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3578, allocations: 4 kB / 0.495 GB, free: 11.29 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006251/0.364, allocations: 1.097 MB / 0.496 GB, free: 10.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3641, allocations: 12.03 kB / 0.496 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.3648, allocations: 67.73 kB / 0.4961 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.3653, allocations: 268.6 kB / 0.4964 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.3654, allocations: 24.66 kB / 0.4964 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.3654, allocations: 32 kB / 0.4964 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.3665, allocations: 0.6074 MB / 0.497 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.3665, allocations: 7.891 kB / 0.497 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.3665, allocations: 15.98 kB / 0.497 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.3666, allocations: 15.94 kB / 0.497 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.3674, allocations: 386.3 kB / 0.4974 GB, free: 8.633 MB / 414.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.003627/0.371, allocations: 2.165 MB / 0.4995 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.3717, allocations: 282.8 kB / 0.4998 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3719, allocations: 128 kB / 0.4999 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.3734, allocations: 467.4 kB / 0.5004 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.3734, allocations: 34.56 kB / 0.5004 GB, free: 5.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.3734, allocations: 0 / 0.5004 GB, free: 5.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005654/0.3791, allocations: 1.155 MB / 0.5015 GB, free: 4.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3791, allocations: 55.41 kB / 0.5016 GB, free: 4.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.3794, allocations: 232 kB / 0.5018 GB, free: 3.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.3794, allocations: 33.7 kB / 0.5018 GB, free: 3.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3796, allocations: 200.3 kB / 0.502 GB, free: 3.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3797, allocations: 126.9 kB / 0.5021 GB, free: 3.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3798, allocations: 78.12 kB / 0.5022 GB, free: 3.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.38, allocations: 338.8 kB / 0.5025 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.3802, allocations: 112.8 kB / 0.5026 GB, free: 3.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.3805, allocations: 226 kB / 0.5029 GB, free: 2.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.3811, allocations: 382 kB / 0.5032 GB, free: 2.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3811, allocations: 0 / 0.5032 GB, free: 2.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009855/0.3821, allocations: 462.8 kB / 0.5037 GB, free: 1.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3821, allocations: 7.938 kB / 0.5037 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3821, allocations: 4 kB / 0.5037 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005881/0.388, allocations: 245.4 kB / 0.5039 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.3884, allocations: 91.83 kB / 0.504 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.3901, allocations: 1.813 MB / 0.5058 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3903, allocations: 15.94 kB / 0.5058 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.3904, allocations: 23.98 kB / 0.5058 GB, free: 15.61 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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 0.0002356/0.3906, allocations: 161.7 kB / 0.506 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.3908, allocations: 31.88 kB / 0.506 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.392, allocations: 0.7094 MB / 0.5067 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.3921, allocations: 11.94 kB / 0.5067 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3921, allocations: 0 / 0.5067 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.3931, allocations: 0.8905 MB / 0.5076 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.3948, allocations: 1.078 MB / 0.5086 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3948, allocations: 0 / 0.5086 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.3951, allocations: 59.97 kB / 0.5087 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.3966, allocations: 184.4 kB / 0.5089 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.3967, allocations: 12 kB / 0.5089 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004408/0.3971, allocations: 0.5719 MB / 0.5094 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3971, allocations: 0 / 0.5094 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3982, allocations: 0.7497 MB / 0.5102 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.3983, allocations: 27.78 kB / 0.5102 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.3984, allocations: 12.09 kB / 0.5102 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3986, allocations: 16 kB / 0.5102 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3986, allocations: 19.95 kB / 0.5102 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.3987, allocations: 15.98 kB / 0.5102 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.3989, allocations: 197.2 kB / 0.5104 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3989, allocations: 0 / 0.5104 GB, free: 10.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004707/0.4036, allocations: 0.752 MB / 0.5112 GB, free: 9.918 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.02634/0.43, allocations: 6.403 MB / 0.5174 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.431, allocations: 474.6 kB / 0.5179 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4311, allocations: 0 / 0.5179 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.4315, allocations: 223.7 kB / 0.5181 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4326, allocations: 161.1 kB / 0.5182 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.4343, allocations: 0.9115 MB / 0.5191 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.4345, allocations: 204.9 kB / 0.5193 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.4349, allocations: 187.4 kB / 0.5195 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.435, allocations: 35.44 kB / 0.5195 GB, free: 1.266 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.435, allocations: 0 / 0.5195 GB, free: 1.266 MB / 430.1 MB Notification: Performance of Templates: time 0.2305/0.6655, allocations: 29.14 MB / 0.548 GB, free: 96.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.976964846253395]