Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.4 MB / 251.1 MB, free: 8.496 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.83 kB / 368.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2255, allocations: 53.32 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02984/0.2554, allocations: 26.84 MB / 449.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0284/0.2838, allocations: 24.96 MB / 474.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.2841, allocations: 7.938 kB / 474.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008426/0.2849, allocations: 314.3 kB / 474.4 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007789/0.2857, allocations: 377.9 kB / 474.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.2964, allocations: 4.096 MB / 478.9 MB, free: 15.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.2977, allocations: 0.9465 MB / 479.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2979, allocations: 84.98 kB / 479.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.2985, allocations: 406.6 kB / 480.3 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.299, allocations: 314.8 kB / 480.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.299, allocations: 36 kB / 480.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/0.318, allocations: 10.49 MB / 491.1 MB, free: 2.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3182, allocations: 99.67 kB / 491.2 MB, free: 2.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.3186, allocations: 235 kB / 491.4 MB, free: 2.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02659/0.3452, allocations: 11.49 MB / 0.4912 GB, free: 6.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.3452, allocations: 11.94 kB / 0.4912 GB, free: 6.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3452, allocations: 0 / 0.4912 GB, free: 6.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3452, allocations: 3.938 kB / 0.4912 GB, free: 6.934 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.006214/0.3515, allocations: 1.18 MB / 0.4923 GB, free: 5.695 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3515, allocations: 8.031 kB / 0.4923 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/0.3521, allocations: 67.73 kB / 0.4924 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.3526, allocations: 330.4 kB / 0.4927 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.3527, allocations: 24.66 kB / 0.4927 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.3527, allocations: 32 kB / 0.4928 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009396/0.3537, allocations: 467.7 kB / 0.4932 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3537, allocations: 0 / 0.4932 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.3537, allocations: 16 kB / 0.4932 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3537, allocations: 8 kB / 0.4932 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.3545, allocations: 382.3 kB / 0.4936 GB, free: 4.316 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.003667/0.3582, allocations: 2.961 MB / 0.4965 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.3588, allocations: 274.8 kB / 0.4968 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.359, allocations: 135.8 kB / 0.4969 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.3616, allocations: 2.466 MB / 0.4993 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3616, allocations: 30.56 kB / 0.4993 GB, free: 13.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3616, allocations: 0 / 0.4993 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005222/0.3668, allocations: 1.303 MB / 0.5006 GB, free: 12.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3669, allocations: 55.41 kB / 0.5006 GB, free: 12.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.3671, allocations: 266.5 kB / 0.5009 GB, free: 11.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.3672, allocations: 33.69 kB / 0.5009 GB, free: 11.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3673, allocations: 188.5 kB / 0.5011 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.3674, allocations: 126.9 kB / 0.5012 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.3675, allocations: 82.08 kB / 0.5013 GB, free: 11.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3677, allocations: 346.8 kB / 0.5016 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3679, allocations: 112.8 kB / 0.5017 GB, free: 11.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.3682, allocations: 222.1 kB / 0.502 GB, free: 10.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.3688, allocations: 373.5 kB / 0.5023 GB, free: 10.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3688, allocations: 8 kB / 0.5023 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008533/0.3696, allocations: 458.7 kB / 0.5028 GB, free: 9.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3696, allocations: 4.438 kB / 0.5028 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3696, allocations: 8 kB / 0.5028 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004997/0.3746, allocations: 241.4 kB / 0.503 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3749, allocations: 87.89 kB / 0.5031 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.3765, allocations: 1.939 MB / 0.505 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3767, allocations: 8.219 kB / 0.505 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.3767, allocations: 27.94 kB / 0.505 GB, free: 7.465 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.0001886/0.3769, allocations: 169.7 kB / 0.5052 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.377, allocations: 35.75 kB / 0.5052 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.3781, allocations: 0.6815 MB / 0.5059 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.3781, allocations: 11.94 kB / 0.5059 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3781, allocations: 8 kB / 0.5059 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009273/0.379, allocations: 0.8631 MB / 0.5067 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3805, allocations: 1.187 MB / 0.5079 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3805, allocations: 0 / 0.5079 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.3808, allocations: 63.91 kB / 0.508 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.3824, allocations: 172.6 kB / 0.5081 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.3824, allocations: 12 kB / 0.5081 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003809/0.3828, allocations: 0.5758 MB / 0.5087 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3828, allocations: 3.938 kB / 0.5087 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.3838, allocations: 0.7306 MB / 0.5094 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.3839, allocations: 112.9 kB / 0.5095 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.384, allocations: 16 kB / 0.5095 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3841, allocations: 4 kB / 0.5095 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.3842, allocations: 27.91 kB / 0.5096 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3842, allocations: 15.92 kB / 0.5096 GB, free: 2.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.3844, allocations: 221.9 kB / 0.5098 GB, free: 2.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3844, allocations: 4.062 kB / 0.5098 GB, free: 2.328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004037/0.3885, allocations: 0.7558 MB / 0.5105 GB, free: 1.57 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.02446/0.4129, allocations: 6.416 MB / 0.5168 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.4141, allocations: 458.2 kB / 0.5172 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4142, allocations: 4.062 kB / 0.5172 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.4146, allocations: 215.9 kB / 0.5174 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4157, allocations: 193.6 kB / 0.5176 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.4174, allocations: 0.9039 MB / 0.5185 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.4178, allocations: 0.8051 MB / 0.5193 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004375/0.4182, allocations: 202.8 kB / 0.5195 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.4183, allocations: 39.44 kB / 0.5195 GB, free: 8.27 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4183, allocations: 0 / 0.5195 GB, free: 8.27 MB / 446.1 MB Notification: Performance of Templates: time 0.2368/0.6552, allocations: 29.24 MB / 0.5481 GB, free: 114.9 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches