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.001738/0.001738, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002078/0.002078, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.00162/0.00162, allocations: 55.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1072, allocations: 53.34 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2372/0.3444, allocations: 26.84 MB / 453.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03066/0.375, allocations: 24.98 MB / 478.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.3756, allocations: 4.938 kB / 478.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3767, allocations: 305.6 kB / 478.9 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009773/0.3776, allocations: 386.8 kB / 479.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01381/0.3914, allocations: 4.088 MB / 483.4 MB, free: 4.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3931, allocations: 0.9445 MB / 484.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.3933, allocations: 84.25 kB / 484.4 MB, free: 4.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.394, allocations: 396.5 kB / 484.8 MB, free: 4.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.3944, allocations: 317.9 kB / 485.1 MB, free: 4.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.3945, allocations: 37.06 kB / 485.2 MB, free: 4.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0211/0.4156, allocations: 10.5 MB / 495.6 MB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.4159, allocations: 107.7 kB / 495.8 MB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005106/0.4164, allocations: 227.1 kB / 496 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03023/0.4466, allocations: 11.5 MB / 0.4956 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4466, allocations: 0 / 0.4956 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4466, allocations: 0 / 0.4956 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4466, allocations: 4 kB / 0.4956 GB, free: 15.77 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.006971/0.4536, allocations: 1.18 MB / 0.4967 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4537, allocations: 11.97 kB / 0.4967 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006729/0.4543, allocations: 72.8 kB / 0.4968 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.4548, allocations: 322.9 kB / 0.4971 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.4549, allocations: 28.59 kB / 0.4972 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.4549, allocations: 28 kB / 0.4972 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009926/0.4559, allocations: 471.7 kB / 0.4976 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.4559, allocations: 0 / 0.4976 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.456, allocations: 12.62 kB / 0.4976 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.456, allocations: 12 kB / 0.4977 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.4568, allocations: 388.4 kB / 0.498 GB, free: 13.14 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.003894/0.4607, allocations: 2.95 MB / 0.5009 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.4614, allocations: 282.2 kB / 0.5012 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.4617, allocations: 129.6 kB / 0.5013 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002769/0.4644, allocations: 2.466 MB / 0.5037 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.4645, allocations: 34.56 kB / 0.5037 GB, free: 6.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.4645, allocations: 0 / 0.5037 GB, free: 6.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.006172/0.4706, allocations: 1.304 MB / 0.505 GB, free: 5.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4707, allocations: 59.41 kB / 0.5051 GB, free: 5.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.471, allocations: 266.5 kB / 0.5053 GB, free: 4.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.471, allocations: 29.7 kB / 0.5054 GB, free: 4.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4712, allocations: 188.4 kB / 0.5055 GB, free: 4.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4713, allocations: 134.9 kB / 0.5057 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.4715, allocations: 82.08 kB / 0.5057 GB, free: 4.383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4716, allocations: 338.8 kB / 0.5061 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4718, allocations: 112.8 kB / 0.5062 GB, free: 3.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.4722, allocations: 234 kB / 0.5064 GB, free: 3.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.4727, allocations: 372.3 kB / 0.5067 GB, free: 3.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4727, allocations: 4 kB / 0.5068 GB, free: 3.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009972/0.4737, allocations: 462.8 kB / 0.5072 GB, free: 2.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4738, allocations: 7.938 kB / 0.5072 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4738, allocations: 4 kB / 0.5072 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006529/0.4803, allocations: 257.8 kB / 0.5075 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.4807, allocations: 83.91 kB / 0.5075 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.4824, allocations: 1.935 MB / 0.5094 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.4826, allocations: 11.98 kB / 0.5094 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.4827, allocations: 20 kB / 0.5095 GB, free: 300 kB / 414.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.0002222/0.4829, allocations: 169.8 kB / 0.5096 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.4831, allocations: 34.52 kB / 0.5096 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.4842, allocations: 0.6883 MB / 0.5103 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.4843, allocations: 7.984 kB / 0.5103 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.4843, allocations: 0 / 0.5103 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/0.4853, allocations: 0.871 MB / 0.5112 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.4869, allocations: 1.187 MB / 0.5123 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4869, allocations: 0 / 0.5123 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.4872, allocations: 68.72 kB / 0.5124 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.4889, allocations: 168.6 kB / 0.5126 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.4889, allocations: 16 kB / 0.5126 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004236/0.4893, allocations: 0.568 MB / 0.5131 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4893, allocations: 0 / 0.5131 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.4904, allocations: 0.7383 MB / 0.5139 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-05/0.4905, allocations: 113 kB / 0.514 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.4906, allocations: 18.5 kB / 0.514 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4908, allocations: 4 kB / 0.514 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.4908, allocations: 23.91 kB / 0.514 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.4908, allocations: 12 kB / 0.514 GB, free: 11.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.4911, allocations: 229.9 kB / 0.5142 GB, free: 11.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4911, allocations: 0 / 0.5142 GB, free: 11.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004414/0.4955, allocations: 0.7558 MB / 0.515 GB, free: 10.4 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.02455/0.5201, allocations: 6.418 MB / 0.5212 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.5213, allocations: 457.4 kB / 0.5217 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5213, allocations: 0 / 0.5217 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.5217, allocations: 225.4 kB / 0.5219 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.5229, allocations: 187.3 kB / 0.5221 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.5246, allocations: 0.9005 MB / 0.5229 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.5251, allocations: 0.809 MB / 0.5237 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.5255, allocations: 182.9 kB / 0.5239 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.5256, allocations: 43.42 kB / 0.524 GB, free: 1.129 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5256, allocations: 0 / 0.524 GB, free: 1.129 MB / 430.1 MB Notification: Performance of Templates: time 0.04588/0.5715, allocations: 29.18 MB / 0.5525 GB, free: 3.961 MB / 462.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: 8.284584764391184]