Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001851/0.001851, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002113/0.002113, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2033, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03863/0.242, allocations: 34.8 MB / 467.1 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03308/0.275, allocations: 27.17 MB / 494.3 MB, free: 8.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.2755, allocations: 11.94 kB / 494.3 MB, free: 8.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.2765, allocations: 377.8 kB / 494.7 MB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2776, allocations: 0.5322 MB / 495.2 MB, free: 7.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01357/0.2911, allocations: 5.27 MB / 0.4888 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.2929, allocations: 1.375 MB / 0.4901 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.2931, allocations: 123 kB / 0.4902 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.2939, allocations: 0.545 MB / 0.4908 GB, free: 288 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.2945, allocations: 466.2 kB / 0.4912 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.2946, allocations: 56 kB / 0.4912 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02381/0.3184, allocations: 12.73 MB / 0.5037 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.3186, allocations: 155.5 kB / 0.5038 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.3191, allocations: 279 kB / 0.5041 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04095/0.36, allocations: 14.95 MB / 0.5187 GB, free: 3.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.36, allocations: 0 / 0.5187 GB, free: 3.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.36, allocations: 0 / 0.5187 GB, free: 3.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.36, allocations: 0 / 0.5187 GB, free: 3.621 MB / 430.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.00788/0.3679, allocations: 1.396 MB / 0.5201 GB, free: 2.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.368, allocations: 12.03 kB / 0.5201 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007999/0.3688, allocations: 99.56 kB / 0.5202 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.3694, allocations: 328.2 kB / 0.5205 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.3694, allocations: 33 kB / 0.5205 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.3695, allocations: 48 kB / 0.5206 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.3709, allocations: 0.8213 MB / 0.5214 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.3709, allocations: 15.83 kB / 0.5214 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.371, allocations: 24 kB / 0.5214 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.371, allocations: 12 kB / 0.5214 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3721, allocations: 0.5229 MB / 0.5219 GB, free: 168 kB / 430.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.004194/0.3762, allocations: 2.72 MB / 0.5246 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/0.3772, allocations: 395.4 kB / 0.5249 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.3775, allocations: 199.1 kB / 0.5251 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/0.3796, allocations: 0.6208 MB / 0.5257 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3796, allocations: 38.94 kB / 0.5258 GB, free: 12.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.943e-06/0.3796, allocations: 0 / 0.5258 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01082/0.3904, allocations: 1.894 MB / 0.5276 GB, free: 10.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3905, allocations: 55.84 kB / 0.5277 GB, free: 10.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.3908, allocations: 289.6 kB / 0.528 GB, free: 9.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.3909, allocations: 37.7 kB / 0.528 GB, free: 9.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.391, allocations: 245 kB / 0.5282 GB, free: 9.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.3912, allocations: 194.3 kB / 0.5284 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.3914, allocations: 118.3 kB / 0.5285 GB, free: 9.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3916, allocations: 346.8 kB / 0.5289 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.3919, allocations: 181.2 kB / 0.529 GB, free: 8.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.3924, allocations: 332.1 kB / 0.5293 GB, free: 8.312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/0.3932, allocations: 0.5484 MB / 0.5299 GB, free: 7.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3932, allocations: 0 / 0.5299 GB, free: 7.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001474/0.3947, allocations: 0.6703 MB / 0.5305 GB, free: 7.012 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3947, allocations: 12.06 kB / 0.5306 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/0.3947, allocations: 4 kB / 0.5306 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/0.4086, allocations: 473.9 kB / 0.531 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.4092, allocations: 139.8 kB / 0.5311 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.4116, allocations: 2.967 MB / 0.534 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.4119, allocations: 16 kB / 0.5341 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.4119, allocations: 31.98 kB / 0.5341 GB, free: 3.199 MB / 446.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.0002716/0.4122, allocations: 193.9 kB / 0.5343 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.4124, allocations: 39.77 kB / 0.5343 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.4141, allocations: 1.071 MB / 0.5354 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.4142, allocations: 15.98 kB / 0.5354 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.4142, allocations: 0 / 0.5354 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/0.4155, allocations: 1.114 MB / 0.5365 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1783/0.5938, allocations: 1.581 MB / 0.538 GB, free: 97.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5938, allocations: 0 / 0.538 GB, free: 97.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.5943, allocations: 100.5 kB / 0.5381 GB, free: 97.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/0.5976, allocations: 359.2 kB / 0.5384 GB, free: 97.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.5976, allocations: 13.88 kB / 0.5385 GB, free: 97.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004347/0.5981, allocations: 1.151 MB / 0.5396 GB, free: 96.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5981, allocations: 0 / 0.5396 GB, free: 96.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.5995, allocations: 1.151 MB / 0.5407 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.5996, allocations: 47.08 kB / 0.5407 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.5996, allocations: 15.42 kB / 0.5408 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.5999, allocations: 11.53 kB / 0.5408 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.5999, allocations: 39.67 kB / 0.5408 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.6, allocations: 21.5 kB / 0.5408 GB, free: 96.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.6002, allocations: 227.5 kB / 0.541 GB, free: 96.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6002, allocations: 2.906 kB / 0.541 GB, free: 96.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004785/0.605, allocations: 0.9785 MB / 0.542 GB, free: 95.93 MB / 446.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.02691/0.6319, allocations: 7.884 MB / 0.5497 GB, free: 91.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.6333, allocations: 0.6879 MB / 0.5504 GB, free: 90.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6333, allocations: 3.562 kB / 0.5504 GB, free: 90.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.6338, allocations: 356 kB / 0.5507 GB, free: 90.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.635, allocations: 241.8 kB / 0.5509 GB, free: 90.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.6368, allocations: 1.349 MB / 0.5523 GB, free: 89.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.637, allocations: 270.4 kB / 0.5525 GB, free: 88.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.6374, allocations: 225.6 kB / 0.5527 GB, free: 88.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.6375, allocations: 55.27 kB / 0.5528 GB, free: 88.79 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.6375, allocations: 0 / 0.5528 GB, free: 88.79 MB / 446.1 MB Notification: Performance of Templates: time 0.03663/0.6741, allocations: 36.75 MB / 0.5887 GB, free: 53.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.5398800069961]