Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.001766/0.001766, allocations: 85.23 kB / 21.44 MB, free: 296 kB / 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.002045/0.002045, allocations: 161.5 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.414/1.414, allocations: 158.6 MB / 186.5 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] 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.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.127e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2018/0.2018, allocations: 34.42 MB / 333.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02789/0.2297, allocations: 27.12 MB / 360.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.2303, allocations: 16.31 kB / 360.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2317, allocations: 384.8 kB / 360.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.2333, allocations: 0.5438 MB / 361.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01877/0.252, allocations: 5.35 MB / 366.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.2545, allocations: 1.372 MB / 368.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.2548, allocations: 120.1 kB / 368.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.256, allocations: 0.7362 MB / 369 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/0.2566, allocations: 398.8 kB / 369.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.2567, allocations: 52 kB / 369.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02588/0.2826, allocations: 12.46 MB / 381.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.283, allocations: 163.5 kB / 382.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.2835, allocations: 239.6 kB / 382.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04823/0.3318, allocations: 15.56 MB / 397.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3318, allocations: 3.938 kB / 397.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3318, allocations: 0 / 397.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.346e-05/0.3318, allocations: 4 kB / 397.9 MB, free: 10.65 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00909/0.3409, allocations: 1.389 MB / 399.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3409, allocations: 11.98 kB / 399.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.3417, allocations: 92.67 kB / 399.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.3425, allocations: 336.2 kB / 399.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.3425, allocations: 37 kB / 399.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-05/0.3426, allocations: 44 kB / 399.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.3441, allocations: 0.8213 MB / 400.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.3441, allocations: 3.938 kB / 400.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.3442, allocations: 24 kB / 400.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3442, allocations: 12 kB / 400.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.3453, allocations: 0.5229 MB / 401.1 MB, free: 7.211 MB / 350.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.004359/0.3497, allocations: 2.72 MB / 403.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3508, allocations: 408 kB / 404.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.3512, allocations: 195.8 kB / 404.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/0.3534, allocations: 0.6207 MB / 405.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.3535, allocations: 43.55 kB / 405.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.705e-06/0.3535, allocations: 0 / 405.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.01011/0.3636, allocations: 1.882 MB / 407 MB, free: 1.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.3637, allocations: 63.84 kB / 407.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/0.3642, allocations: 285.7 kB / 407.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.3643, allocations: 37.7 kB / 407.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.3645, allocations: 241 kB / 407.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3647, allocations: 194.3 kB / 407.8 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.3648, allocations: 118.3 kB / 407.9 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.3651, allocations: 350.7 kB / 408.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.3654, allocations: 177.2 kB / 408.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.3659, allocations: 328.1 kB / 408.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/0.3669, allocations: 0.5505 MB / 409.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3669, allocations: 4 kB / 409.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001514/0.3684, allocations: 0.671 MB / 410 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3684, allocations: 8 kB / 410 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3684, allocations: 4 kB / 410 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009569/0.378, allocations: 446.5 kB / 410.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.3787, allocations: 143.8 kB / 410.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.3814, allocations: 2.962 MB / 413.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.3817, allocations: 20.44 kB / 413.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.3818, allocations: 28 kB / 413.6 MB, free: 10.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003431/0.3822, allocations: 189.6 kB / 413.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.3823, allocations: 43.7 kB / 413.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.3841, allocations: 1.078 MB / 414.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.3841, allocations: 11.98 kB / 414.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3841, allocations: 0 / 414.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.3856, allocations: 1.118 MB / 416 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.388, allocations: 1.593 MB / 417.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.388, allocations: 0 / 417.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.3884, allocations: 103.9 kB / 417.7 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/0.3916, allocations: 345.1 kB / 418 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.3917, allocations: 16 kB / 418.1 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009212/0.3926, allocations: 1.152 MB / 419.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3926, allocations: 0.875 kB / 419.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3943, allocations: 1.152 MB / 420.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3944, allocations: 47.64 kB / 420.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.3945, allocations: 12 kB / 420.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.3947, allocations: 12 kB / 420.4 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.3948, allocations: 44.5 kB / 420.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.3949, allocations: 16 kB / 420.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.3951, allocations: 231 kB / 420.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3951, allocations: 0 / 420.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005803/0.401, allocations: 0.974 MB / 421.7 MB, free: 1.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.03371/0.4347, allocations: 8 MB / 429.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.4366, allocations: 0.7004 MB / 430.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4366, allocations: 0 / 430.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000704/0.4373, allocations: 347.2 kB / 430.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.4387, allocations: 246.8 kB / 431 MB, free: 8.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4412, allocations: 1.232 MB / 432.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.4415, allocations: 264.7 kB / 432.5 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000661/0.4421, allocations: 235.9 kB / 432.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.4423, allocations: 56.48 kB / 432.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4423, allocations: 0 / 432.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of Templates: time 0.05644/0.4987, allocations: 35.72 MB / 468.5 MB, free: 2.98 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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: 8.798384476453066]