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.001253/0.001253, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001372/0.001372, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.38/1.38, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001648/0.001648, allocations: 47.92 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2324, allocations: 53.36 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03324/0.2656, allocations: 27.06 MB / 459.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02833/0.294, allocations: 25.08 MB / 484.5 MB, free: 2.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.2945, allocations: 7.938 kB / 484.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.2956, allocations: 306.3 kB / 484.8 MB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.2964, allocations: 385.8 kB / 485.2 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.3073, allocations: 4.129 MB / 489.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.3087, allocations: 0.9697 MB / 490.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.3089, allocations: 77.25 kB / 490.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.3095, allocations: 394.7 kB / 490.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.31, allocations: 326.7 kB / 491.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.31, allocations: 40 kB / 491.1 MB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01821/0.3282, allocations: 10.54 MB / 0.4899 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.3284, allocations: 115.6 kB / 0.49 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.3288, allocations: 223.1 kB / 0.4902 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02635/0.3552, allocations: 11.51 MB / 0.5015 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3552, allocations: 0 / 0.5015 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3552, allocations: 0 / 0.5015 GB, free: 5.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.3552, allocations: 0 / 0.5015 GB, free: 5.605 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.006163/0.3614, allocations: 1.117 MB / 0.5026 GB, free: 4.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3614, allocations: 8.031 kB / 0.5026 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.362, allocations: 67.73 kB / 0.5026 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.3625, allocations: 260.6 kB / 0.5029 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.3626, allocations: 24.66 kB / 0.5029 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.3626, allocations: 32 kB / 0.5029 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008859/0.3635, allocations: 467.7 kB / 0.5034 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3635, allocations: 3.984 kB / 0.5034 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.3636, allocations: 19.98 kB / 0.5034 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3636, allocations: 12 kB / 0.5034 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.3643, allocations: 386.3 kB / 0.5038 GB, free: 3.137 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.00374/0.3681, allocations: 2.818 MB / 0.5065 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.3688, allocations: 276.5 kB / 0.5068 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.369, allocations: 128.8 kB / 0.5069 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.3704, allocations: 467.5 kB / 0.5074 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3704, allocations: 34.56 kB / 0.5074 GB, free: 15.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.3704, allocations: 0 / 0.5074 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0055/0.3759, allocations: 1.147 MB / 0.5085 GB, free: 14.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.376, allocations: 59.39 kB / 0.5086 GB, free: 13.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.3763, allocations: 261.9 kB / 0.5088 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.3763, allocations: 37.7 kB / 0.5089 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3765, allocations: 192.4 kB / 0.5091 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3766, allocations: 122.9 kB / 0.5092 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3767, allocations: 86.08 kB / 0.5093 GB, free: 13.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3769, allocations: 342.8 kB / 0.5096 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.3771, allocations: 108.8 kB / 0.5097 GB, free: 12.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.3774, allocations: 226.1 kB / 0.5099 GB, free: 12.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.3779, allocations: 386 kB / 0.5103 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3779, allocations: 0 / 0.5103 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009287/0.3788, allocations: 462.7 kB / 0.5107 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3789, allocations: 8 kB / 0.5107 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3789, allocations: 4 kB / 0.5107 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005928/0.3848, allocations: 245.9 kB / 0.511 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.3852, allocations: 95.77 kB / 0.511 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3868, allocations: 1.839 MB / 0.5128 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.387, allocations: 11.94 kB / 0.5129 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.387, allocations: 20 kB / 0.5129 GB, free: 9.266 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.0002194/0.3873, allocations: 169.9 kB / 0.513 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.3874, allocations: 35.75 kB / 0.5131 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3885, allocations: 0.7017 MB / 0.5138 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3885, allocations: 4 kB / 0.5138 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3885, allocations: 0 / 0.5138 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009228/0.3894, allocations: 0.8906 MB / 0.5146 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.391, allocations: 1.179 MB / 0.5158 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.391, allocations: 4 kB / 0.5158 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.3913, allocations: 67.91 kB / 0.5158 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.3929, allocations: 176.5 kB / 0.516 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.3929, allocations: 20 kB / 0.516 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004138/0.3933, allocations: 0.5758 MB / 0.5166 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3933, allocations: 7.875 kB / 0.5166 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3944, allocations: 0.7381 MB / 0.5173 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.3945, allocations: 35.73 kB / 0.5174 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.3945, allocations: 16.16 kB / 0.5174 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3947, allocations: 4 kB / 0.5174 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.3947, allocations: 27.89 kB / 0.5174 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.3948, allocations: 15.98 kB / 0.5174 GB, free: 4.391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.395, allocations: 223.1 kB / 0.5176 GB, free: 4.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.395, allocations: 0 / 0.5176 GB, free: 4.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003985/0.399, allocations: 0.7519 MB / 0.5184 GB, free: 3.418 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.02394/0.4229, allocations: 6.416 MB / 0.5246 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009804/0.4239, allocations: 459 kB / 0.5251 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4239, allocations: 4 kB / 0.5251 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.4243, allocations: 219.7 kB / 0.5253 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4253, allocations: 195.1 kB / 0.5255 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.4269, allocations: 0.9417 MB / 0.5264 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.4274, allocations: 0.8091 MB / 0.5272 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4275, allocations: 43.42 kB / 0.5272 GB, free: 10.26 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4275, allocations: 0 / 0.5272 GB, free: 10.26 MB / 446.1 MB Notification: Performance of Templates: time 0.2236/0.6511, allocations: 29.38 MB / 0.5559 GB, free: 88 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: 10.185234705917537]