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.001373/0.001373, allocations: 100 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.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.001461/0.001461, allocations: 186.8 kB / 24.45 MB, free: 3.961 MB / 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.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001611/0.001611, allocations: 47.92 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2951, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03014/0.3252, allocations: 24.63 MB / 448.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02737/0.3526, allocations: 22.06 MB / 470.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.353, allocations: 4 kB / 470.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009178/0.3539, allocations: 278.4 kB / 470.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000868/0.3548, allocations: 377.8 kB / 471.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.3662, allocations: 4.09 MB / 475.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.3675, allocations: 0.9659 MB / 476.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3677, allocations: 73.23 kB / 476.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006963/0.3684, allocations: 394.6 kB / 476.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.3689, allocations: 314.6 kB / 477 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.3689, allocations: 36 kB / 477 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02037/0.3893, allocations: 10.13 MB / 487.1 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.3896, allocations: 115.6 kB / 487.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.39, allocations: 187.4 kB / 487.4 MB, free: 14.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03646/0.4264, allocations: 11.5 MB / 498.9 MB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.4264, allocations: 0 / 498.9 MB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4264, allocations: 0 / 498.9 MB, free: 3.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.4265, allocations: 0 / 498.9 MB, free: 3.117 MB / 398.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.00708/0.4335, allocations: 1.105 MB / 0.4883 GB, free: 1.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4336, allocations: 8.031 kB / 0.4883 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000706/0.4343, allocations: 71.73 kB / 0.4884 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.4349, allocations: 256.6 kB / 0.4886 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.435, allocations: 28.66 kB / 0.4887 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.4351, allocations: 28 kB / 0.4887 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.4362, allocations: 0.6113 MB / 0.4893 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.4362, allocations: 7.875 kB / 0.4893 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.4363, allocations: 16 kB / 0.4893 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.4363, allocations: 8 kB / 0.4893 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.4371, allocations: 386.3 kB / 0.4897 GB, free: 484 kB / 398.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.004015/0.4411, allocations: 2.168 MB / 0.4918 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.4419, allocations: 274.8 kB / 0.4921 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.4421, allocations: 136.2 kB / 0.4922 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.4436, allocations: 459.5 kB / 0.4926 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4436, allocations: 46.48 kB / 0.4927 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.4436, allocations: 3.938 kB / 0.4927 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005285/0.4489, allocations: 1.142 MB / 0.4938 GB, free: 12.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.449, allocations: 59.34 kB / 0.4939 GB, free: 12.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.4493, allocations: 232 kB / 0.4941 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.4494, allocations: 29.7 kB / 0.4941 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.4496, allocations: 204.3 kB / 0.4943 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.4497, allocations: 126.9 kB / 0.4944 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4498, allocations: 82.08 kB / 0.4945 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.45, allocations: 338.8 kB / 0.4948 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.4503, allocations: 116.8 kB / 0.4949 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.4506, allocations: 230 kB / 0.4952 GB, free: 10.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/0.4512, allocations: 370 kB / 0.4955 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4512, allocations: 0 / 0.4955 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009246/0.4521, allocations: 454.8 kB / 0.4959 GB, free: 9.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.4521, allocations: 11.94 kB / 0.496 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4522, allocations: 4 kB / 0.496 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/0.4566, allocations: 237.9 kB / 0.4962 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.457, allocations: 91.83 kB / 0.4963 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.4587, allocations: 1.805 MB / 0.498 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.459, allocations: 20.03 kB / 0.4981 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.459, allocations: 23.98 kB / 0.4981 GB, free: 7.465 MB / 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.0002833/0.4593, allocations: 173.9 kB / 0.4982 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.4594, allocations: 23.86 kB / 0.4983 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.4606, allocations: 0.7082 MB / 0.499 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.4606, allocations: 11.94 kB / 0.499 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4607, allocations: 0 / 0.499 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009867/0.4616, allocations: 0.8713 MB / 0.4998 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.4633, allocations: 1.077 MB / 0.5009 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4633, allocations: 0 / 0.5009 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.4636, allocations: 67.89 kB / 0.5009 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.4652, allocations: 184.4 kB / 0.5011 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.4652, allocations: 16 kB / 0.5011 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004422/0.4656, allocations: 0.5759 MB / 0.5017 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4656, allocations: 4.094 kB / 0.5017 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4668, allocations: 0.7382 MB / 0.5024 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.4669, allocations: 35.72 kB / 0.5025 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.4669, allocations: 12 kB / 0.5025 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.4671, allocations: 8 kB / 0.5025 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.4672, allocations: 23.94 kB / 0.5025 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.4672, allocations: 12 kB / 0.5025 GB, free: 2.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.4674, allocations: 201.2 kB / 0.5027 GB, free: 2.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 0 / 0.5027 GB, free: 2.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00445/0.4719, allocations: 0.7558 MB / 0.5034 GB, free: 1.777 MB / 414.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.02663/0.4985, allocations: 6.395 MB / 0.5097 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.4996, allocations: 473.7 kB / 0.5101 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4996, allocations: 0 / 0.5101 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.5001, allocations: 213.7 kB / 0.5103 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5012, allocations: 163.5 kB / 0.5105 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.503, allocations: 0.9435 MB / 0.5114 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.5032, allocations: 200.9 kB / 0.5116 GB, free: 9.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.5033, allocations: 39.42 kB / 0.5116 GB, free: 9.293 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5033, allocations: 0 / 0.5116 GB, free: 9.293 MB / 430.1 MB Notification: Performance of Templates: time 0.2534/0.7567, allocations: 29.12 MB / 0.5401 GB, free: 108.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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: 10.825796114746481]