Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 52.02 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2739, allocations: 52.15 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03097/0.3049, allocations: 26.97 MB / 447.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02852/0.3334, allocations: 25.04 MB / 472.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.3338, allocations: 8 kB / 472.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.3347, allocations: 302.3 kB / 473.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.3356, allocations: 381.8 kB / 473.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.3469, allocations: 4.089 MB / 477.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.3485, allocations: 0.9503 MB / 478.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.3488, allocations: 77.05 kB / 478.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007365/0.3495, allocations: 398.6 kB / 479.1 MB, free: 4.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.3499, allocations: 322.8 kB / 479.4 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.35, allocations: 39.94 kB / 479.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02318/0.3732, allocations: 10.49 MB / 489.9 MB, free: 9.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.3736, allocations: 115.5 kB / 490 MB, free: 9.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005595/0.3742, allocations: 223.2 kB / 490.2 MB, free: 9.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03064/0.4048, allocations: 11.5 MB / 0.49 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4048, allocations: 0 / 0.49 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4048, allocations: 0 / 0.49 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4048, allocations: 0 / 0.49 GB, free: 14.04 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.00627/0.4111, allocations: 1.177 MB / 0.4911 GB, free: 12.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4112, allocations: 12.03 kB / 0.4911 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.4117, allocations: 67.72 kB / 0.4912 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.4122, allocations: 323 kB / 0.4915 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.4122, allocations: 24.66 kB / 0.4915 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.4123, allocations: 36 kB / 0.4916 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.4132, allocations: 463.7 kB / 0.492 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4132, allocations: 3.938 kB / 0.492 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.4133, allocations: 16 kB / 0.492 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4133, allocations: 8 kB / 0.492 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.414, allocations: 386.3 kB / 0.4924 GB, free: 11.42 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.003533/0.4176, allocations: 2.957 MB / 0.4953 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.4182, allocations: 278.8 kB / 0.4956 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.4185, allocations: 124.8 kB / 0.4957 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002512/0.421, allocations: 2.466 MB / 0.4981 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.421, allocations: 42.55 kB / 0.4981 GB, free: 4.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.421, allocations: 0 / 0.4981 GB, free: 4.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005372/0.4264, allocations: 1.309 MB / 0.4994 GB, free: 3.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.4264, allocations: 59.41 kB / 0.4995 GB, free: 3.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.4268, allocations: 258.6 kB / 0.4997 GB, free: 3.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.4268, allocations: 29.7 kB / 0.4997 GB, free: 3.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.4269, allocations: 188.4 kB / 0.4999 GB, free: 2.867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.427, allocations: 134.9 kB / 0.5001 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.4271, allocations: 78.12 kB / 0.5001 GB, free: 2.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4273, allocations: 338.8 kB / 0.5005 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.4275, allocations: 112.8 kB / 0.5006 GB, free: 2.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.4278, allocations: 234 kB / 0.5008 GB, free: 1.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.4283, allocations: 369.5 kB / 0.5011 GB, free: 1.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4284, allocations: 4 kB / 0.5011 GB, free: 1.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008597/0.4292, allocations: 470.6 kB / 0.5016 GB, free: 1.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4292, allocations: 4 kB / 0.5016 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4292, allocations: 4 kB / 0.5016 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004946/0.4342, allocations: 241.9 kB / 0.5018 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.4346, allocations: 87.84 kB / 0.5019 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.4363, allocations: 1.939 MB / 0.5038 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.4366, allocations: 11.98 kB / 0.5038 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.4366, allocations: 20 kB / 0.5038 GB, free: 14.56 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.0002429/0.4369, allocations: 173.8 kB / 0.504 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.437, allocations: 35.75 kB / 0.504 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.4381, allocations: 0.6813 MB / 0.5047 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4381, allocations: 11.98 kB / 0.5047 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4381, allocations: 4.062 kB / 0.5047 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000914/0.439, allocations: 0.8601 MB / 0.5056 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.4405, allocations: 1.191 MB / 0.5067 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4406, allocations: 0 / 0.5067 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.4408, allocations: 63.91 kB / 0.5068 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.4424, allocations: 184.5 kB / 0.507 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.4425, allocations: 12 kB / 0.507 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004068/0.4429, allocations: 0.5641 MB / 0.5075 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.4429, allocations: 3.938 kB / 0.5075 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4439, allocations: 0.7313 MB / 0.5082 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.444, allocations: 117 kB / 0.5083 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.4441, allocations: 19.89 kB / 0.5084 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.4442, allocations: 4 kB / 0.5084 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.4443, allocations: 27.89 kB / 0.5084 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.4443, allocations: 12 kB / 0.5084 GB, free: 9.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.4446, allocations: 221.9 kB / 0.5086 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4446, allocations: 0 / 0.5086 GB, free: 9.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004301/0.4489, allocations: 0.7519 MB / 0.5094 GB, free: 8.676 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.0254/0.4743, allocations: 6.403 MB / 0.5156 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.4754, allocations: 462.4 kB / 0.516 GB, free: 1.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4754, allocations: 0 / 0.516 GB, free: 1.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.4758, allocations: 209.1 kB / 0.5162 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4768, allocations: 188.6 kB / 0.5164 GB, free: 1.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.4785, allocations: 0.9055 MB / 0.5173 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.4789, allocations: 0.8129 MB / 0.5181 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.4793, allocations: 190.9 kB / 0.5183 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.4794, allocations: 39.44 kB / 0.5183 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4794, allocations: 0 / 0.5183 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Templates: time 0.236/0.7154, allocations: 29.27 MB / 0.5469 GB, free: 101.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.005852286703885]