Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.001398/0.001398, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001507/0.001507, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 59.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2593, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0393/0.2986, allocations: 34.8 MB / 467.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03458/0.3331, allocations: 27.16 MB / 494.3 MB, free: 8.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.3337, allocations: 7.938 kB / 494.3 MB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.3349, allocations: 377.8 kB / 494.7 MB, free: 8.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.3362, allocations: 0.5361 MB / 495.2 MB, free: 7.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01604/0.3522, allocations: 5.252 MB / 0.4887 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.3544, allocations: 1.375 MB / 0.4901 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.3548, allocations: 115 kB / 0.4902 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.356, allocations: 0.545 MB / 0.4907 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007552/0.3568, allocations: 442.2 kB / 0.4911 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.445e-05/0.3569, allocations: 56 kB / 0.4912 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02736/0.3842, allocations: 12.43 MB / 0.5033 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.3846, allocations: 159.5 kB / 0.5035 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.3851, allocations: 275 kB / 0.5038 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0488/0.4339, allocations: 14.95 MB / 0.5184 GB, free: 3.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.4339, allocations: 4 kB / 0.5184 GB, free: 3.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4339, allocations: 0 / 0.5184 GB, free: 3.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.434, allocations: 0 / 0.5184 GB, free: 3.945 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00914/0.4431, allocations: 1.396 MB / 0.5197 GB, free: 2.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4432, allocations: 8.031 kB / 0.5197 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.4442, allocations: 99.56 kB / 0.5198 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.4451, allocations: 336.2 kB / 0.5201 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.4452, allocations: 33 kB / 0.5202 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.4453, allocations: 48 kB / 0.5202 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.4469, allocations: 0.8276 MB / 0.521 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.4469, allocations: 7.891 kB / 0.521 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.447, allocations: 23.98 kB / 0.5211 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.447, allocations: 15.94 kB / 0.5211 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.4482, allocations: 0.5268 MB / 0.5216 GB, free: 488 kB / 430.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.004839/0.453, allocations: 2.716 MB / 0.5242 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4541, allocations: 396.9 kB / 0.5246 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.4544, allocations: 195.2 kB / 0.5248 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/0.4565, allocations: 0.6246 MB / 0.5254 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.4566, allocations: 38.94 kB / 0.5255 GB, free: 12.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.745e-06/0.4566, allocations: 4 kB / 0.5255 GB, free: 12.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01063/0.4672, allocations: 1.886 MB / 0.5273 GB, free: 10.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.4673, allocations: 55.84 kB / 0.5274 GB, free: 10.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.4677, allocations: 285.7 kB / 0.5276 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.4678, allocations: 37.7 kB / 0.5277 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.468, allocations: 245 kB / 0.5279 GB, free: 9.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.4682, allocations: 198.3 kB / 0.5281 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.4684, allocations: 118.3 kB / 0.5282 GB, free: 9.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4686, allocations: 346.8 kB / 0.5285 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.4689, allocations: 181.2 kB / 0.5287 GB, free: 9.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.4694, allocations: 334.8 kB / 0.529 GB, free: 8.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/0.4703, allocations: 0.5562 MB / 0.5296 GB, free: 8.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4703, allocations: 0 / 0.5296 GB, free: 8.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001527/0.4719, allocations: 0.6702 MB / 0.5302 GB, free: 7.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4719, allocations: 4 kB / 0.5302 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.4719, allocations: 11.94 kB / 0.5302 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/0.4834, allocations: 470 kB / 0.5307 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.4841, allocations: 139.8 kB / 0.5308 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.4867, allocations: 2.963 MB / 0.5337 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.4871, allocations: 12 kB / 0.5337 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.4872, allocations: 35.98 kB / 0.5338 GB, free: 3.516 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.4875, allocations: 190 kB / 0.5339 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.4878, allocations: 43.77 kB / 0.534 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.4896, allocations: 1.078 MB / 0.535 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.4896, allocations: 15.98 kB / 0.535 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4896, allocations: 0 / 0.535 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.491, allocations: 1.106 MB / 0.5361 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2165/0.7075, allocations: 1.58 MB / 0.5377 GB, free: 97.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.7075, allocations: 1.156 kB / 0.5377 GB, free: 97.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.708, allocations: 101.4 kB / 0.5378 GB, free: 97.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/0.7111, allocations: 356.4 kB / 0.5381 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.7111, allocations: 23.67 kB / 0.5381 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005291/0.7117, allocations: 1.146 MB / 0.5392 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7117, allocations: 1.125 kB / 0.5392 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.7133, allocations: 1.153 MB / 0.5404 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.7135, allocations: 46.78 kB / 0.5404 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.7135, allocations: 21.42 kB / 0.5404 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.7138, allocations: 10.88 kB / 0.5404 GB, free: 96.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.7138, allocations: 37.05 kB / 0.5405 GB, free: 96.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.7139, allocations: 21.2 kB / 0.5405 GB, free: 96.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.7141, allocations: 227.8 kB / 0.5407 GB, free: 95.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7141, allocations: 3.391 kB / 0.5407 GB, free: 95.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005541/0.7197, allocations: 0.9756 MB / 0.5417 GB, free: 95.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.02909/0.7488, allocations: 7.889 MB / 0.5494 GB, free: 91.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.7504, allocations: 0.6841 MB / 0.55 GB, free: 91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7504, allocations: 0 / 0.55 GB, free: 91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.7509, allocations: 359.6 kB / 0.5504 GB, free: 90.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7522, allocations: 230 kB / 0.5506 GB, free: 90.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.7541, allocations: 1.391 MB / 0.552 GB, free: 89.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.7543, allocations: 269.9 kB / 0.5522 GB, free: 89.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.7545, allocations: 54.77 kB / 0.5523 GB, free: 89.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.7545, allocations: 0 / 0.5523 GB, free: 89.1 MB / 446.1 MB Notification: Performance of Templates: time 0.03749/0.792, allocations: 38.81 MB / 0.5902 GB, free: 51.45 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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: 11.971948311198503]