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.001581/0.001581, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001751/0.001751, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001615/0.001615, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2142, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.029/0.2432, allocations: 24.72 MB / 457.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.2699, allocations: 22.07 MB / 479.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.2701, allocations: 7.938 kB / 479.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.2709, allocations: 278.4 kB / 479.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007317/0.2716, allocations: 385.8 kB / 479.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009553/0.2812, allocations: 4.093 MB / 483.9 MB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.2823, allocations: 0.9698 MB / 484.9 MB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.2825, allocations: 81.23 kB / 484.9 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005727/0.283, allocations: 398.7 kB / 485.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.2834, allocations: 322.7 kB / 485.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.2835, allocations: 36 kB / 485.7 MB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01834/0.3018, allocations: 10.37 MB / 496.1 MB, free: 6.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.302, allocations: 107.7 kB / 496.2 MB, free: 6.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.3023, allocations: 191.3 kB / 496.3 MB, free: 6.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02982/0.3321, allocations: 11.51 MB / 0.496 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3321, allocations: 4 kB / 0.496 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3321, allocations: 0 / 0.496 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3321, allocations: 0 / 0.496 GB, free: 10.98 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.005266/0.3374, allocations: 1.105 MB / 0.497 GB, free: 9.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3374, allocations: 12.03 kB / 0.4971 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.338, allocations: 67.73 kB / 0.4971 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.3385, allocations: 260.6 kB / 0.4974 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.3385, allocations: 24.66 kB / 0.4974 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.3386, allocations: 32 kB / 0.4974 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.3396, allocations: 0.6112 MB / 0.498 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3396, allocations: 3.953 kB / 0.498 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.3397, allocations: 20 kB / 0.498 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3397, allocations: 8 kB / 0.498 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.3405, allocations: 382.3 kB / 0.4984 GB, free: 8.336 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.003593/0.3441, allocations: 2.176 MB / 0.5005 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.3447, allocations: 270.8 kB / 0.5008 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.345, allocations: 128.8 kB / 0.5009 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.3465, allocations: 467.4 kB / 0.5014 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.3465, allocations: 38.56 kB / 0.5014 GB, free: 5.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.3465, allocations: 0 / 0.5014 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005903/0.3524, allocations: 1.151 MB / 0.5025 GB, free: 3.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.3524, allocations: 55.41 kB / 0.5026 GB, free: 3.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.3527, allocations: 232 kB / 0.5028 GB, free: 3.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3527, allocations: 33.7 kB / 0.5028 GB, free: 3.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3529, allocations: 200.3 kB / 0.503 GB, free: 3.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.353, allocations: 130.8 kB / 0.5031 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3531, allocations: 86.05 kB / 0.5032 GB, free: 3.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3533, allocations: 338.8 kB / 0.5035 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3535, allocations: 116.8 kB / 0.5037 GB, free: 2.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.3538, allocations: 222.1 kB / 0.5039 GB, free: 2.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.3544, allocations: 382 kB / 0.5042 GB, free: 2.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3544, allocations: 0 / 0.5042 GB, free: 2.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009671/0.3553, allocations: 454.9 kB / 0.5047 GB, free: 1.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3553, allocations: 8 kB / 0.5047 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3554, allocations: 7.938 kB / 0.5047 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006872/0.3622, allocations: 245.4 kB / 0.5049 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.3626, allocations: 91.83 kB / 0.505 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.3642, allocations: 1.817 MB / 0.5068 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3643, allocations: 19.94 kB / 0.5068 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.3644, allocations: 20 kB / 0.5068 GB, free: 15.3 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.0001828/0.3646, allocations: 161.7 kB / 0.507 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.3647, allocations: 36.06 kB / 0.507 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3659, allocations: 0.7052 MB / 0.5077 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009579/0.3668, allocations: 0.875 MB / 0.5086 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3668, allocations: 7.938 kB / 0.5086 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.3669, allocations: 31.7 kB / 0.5086 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.3669, allocations: 8 kB / 0.5086 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3671, allocations: 8 kB / 0.5086 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.3672, allocations: 23.95 kB / 0.5086 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000998/0.3682, allocations: 0.5219 MB / 0.5091 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001067/0.3692, allocations: 0.7712 MB / 0.5099 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002542/0.3695, allocations: 165.4 kB / 0.51 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3697, allocations: 197.2 kB / 0.5102 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Backend: time 3.41e-07/0.3697, allocations: 0 / 0.5102 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.04026/0.4099, allocations: 9.961 MB / 0.52 GB, free: 1.66 MB / 430.1 MB Notification: Performance of SimCode: time 0.001698/0.4116, allocations: 1.245 MB / 0.5212 GB, free: 376 kB / 430.1 MB Notification: Performance of Templates: time 0.2105/0.6222, allocations: 33.65 MB / 0.554 GB, free: 91.13 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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: 7.908974803001911]