Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00135/0.00135, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001515/0.001515, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 207.6 MB / 236 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 47.92 kB / 348.4 MB, free: 9.645 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2472, allocations: 49.17 MB / 397.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02757/0.2748, allocations: 26.99 MB / 424.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03051/0.3053, allocations: 25.06 MB / 449.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004559/0.3057, allocations: 7.938 kB / 449.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009637/0.3067, allocations: 306.3 kB / 450 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008573/0.3076, allocations: 381.9 kB / 450.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.3195, allocations: 4.12 MB / 454.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.3209, allocations: 0.962 MB / 455.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.3211, allocations: 89.22 kB / 455.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.3219, allocations: 398.5 kB / 455.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.3225, allocations: 314.8 kB / 456.2 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.115e-05/0.3226, allocations: 40 kB / 456.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02231/0.3449, allocations: 10.53 MB / 466.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.3451, allocations: 103.7 kB / 466.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.3456, allocations: 227.1 kB / 467.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03021/0.3758, allocations: 11.5 MB / 478.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.3758, allocations: 3.984 kB / 478.6 MB, free: 2.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3758, allocations: 0 / 478.6 MB, free: 2.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.3758, allocations: 0 / 478.6 MB, free: 2.191 MB / 382.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.007217/0.383, allocations: 1.109 MB / 479.7 MB, free: 1.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3831, allocations: 11.98 kB / 479.7 MB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006999/0.3838, allocations: 71.72 kB / 479.8 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.3844, allocations: 264.6 kB / 480.1 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.3845, allocations: 20.66 kB / 480.1 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.3845, allocations: 36 kB / 480.1 MB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.3856, allocations: 471.7 kB / 480.6 MB, free: 128 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.3856, allocations: 4 kB / 480.6 MB, free: 124 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.3856, allocations: 12 kB / 480.6 MB, free: 112 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3857, allocations: 8 kB / 480.6 MB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.3866, allocations: 390.3 kB / 481 MB, free: 15.72 MB / 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.004159/0.3907, allocations: 2.814 MB / 483.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.3915, allocations: 290.7 kB / 484.1 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.3917, allocations: 126.1 kB / 484.2 MB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.3932, allocations: 467.4 kB / 484.7 MB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.3932, allocations: 38.55 kB / 484.7 MB, free: 11.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.415e-06/0.3932, allocations: 4 kB / 484.7 MB, free: 11.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005312/0.3985, allocations: 1.139 MB / 485.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3986, allocations: 59.34 kB / 485.9 MB, free: 10.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.3989, allocations: 257.9 kB / 486.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.399, allocations: 29.7 kB / 486.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.3991, allocations: 200.3 kB / 486.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3992, allocations: 126.9 kB / 486.5 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3994, allocations: 82.08 kB / 486.6 MB, free: 9.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3996, allocations: 342.8 kB / 486.9 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3998, allocations: 112.8 kB / 487 MB, free: 9.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.4001, allocations: 226.1 kB / 487.2 MB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/0.4007, allocations: 377.4 kB / 487.6 MB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4007, allocations: 0 / 487.6 MB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009246/0.4016, allocations: 455.1 kB / 488.1 MB, free: 8.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4016, allocations: 12.06 kB / 488.1 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4016, allocations: 0 / 488.1 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004767/0.4064, allocations: 237.4 kB / 488.3 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.4068, allocations: 87.89 kB / 488.4 MB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.4085, allocations: 1.835 MB / 490.2 MB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.4088, allocations: 16.06 kB / 490.2 MB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.4088, allocations: 19.98 kB / 490.3 MB, free: 5.871 MB / 398.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.0002358/0.4091, allocations: 157.8 kB / 490.4 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4092, allocations: 39.8 kB / 490.4 MB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.4104, allocations: 0.721 MB / 491.2 MB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4104, allocations: 12 kB / 491.2 MB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4104, allocations: 0 / 491.2 MB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.4114, allocations: 0.8752 MB / 492.1 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4132, allocations: 1.19 MB / 493.2 MB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4132, allocations: 0 / 493.2 MB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.4135, allocations: 63.91 kB / 493.3 MB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.4151, allocations: 176.6 kB / 493.5 MB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.4152, allocations: 11.98 kB / 493.5 MB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004565/0.4156, allocations: 0.5796 MB / 494.1 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4156, allocations: 3.938 kB / 494.1 MB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4167, allocations: 0.746 MB / 494.8 MB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.4168, allocations: 35.73 kB / 494.9 MB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.4169, allocations: 8 kB / 494.9 MB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.4171, allocations: 8 kB / 494.9 MB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.4171, allocations: 27.89 kB / 494.9 MB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.4172, allocations: 15.98 kB / 494.9 MB, free: 1.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.4175, allocations: 227.1 kB / 495.1 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4175, allocations: 0 / 495.1 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004595/0.422, allocations: 0.748 MB / 495.9 MB, free: 32 kB / 398.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.02614/0.4482, allocations: 6.399 MB / 0.4905 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.4495, allocations: 483.1 kB / 0.491 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.4495, allocations: 0 / 0.491 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.45, allocations: 212 kB / 0.4912 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4512, allocations: 196.5 kB / 0.4914 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.4532, allocations: 0.9383 MB / 0.4923 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.4538, allocations: 0.8051 MB / 0.4931 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4539, allocations: 43.42 kB / 0.4931 GB, free: 6.883 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4539, allocations: 0 / 0.4931 GB, free: 6.883 MB / 414.1 MB Notification: Performance of Templates: time 0.04516/0.4991, allocations: 29.26 MB / 0.5217 GB, free: 9.559 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.589277427876368]