Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 80.53 kB / 20.49 MB, free: 1.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 162.6 kB / 23.74 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 177.1 MB / 204 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 61.52 kB / 324.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.1012, allocations: 53.38 MB / 378.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.04378/0.145, allocations: 24.62 MB / 402.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0344/0.1794, allocations: 22.06 MB / 424.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.1798, allocations: 7.938 kB / 424.8 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.1811, allocations: 270.4 kB / 425.1 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1824, allocations: 381.9 kB / 425.5 MB, free: 252 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.1985, allocations: 4.106 MB / 429.6 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.2005, allocations: 0.9543 MB / 430.5 MB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.2008, allocations: 81.16 kB / 430.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.202, allocations: 0.5336 MB / 431.2 MB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.2027, allocations: 298.8 kB / 431.4 MB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.2027, allocations: 40 kB / 431.5 MB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02719/0.2299, allocations: 10.14 MB / 441.6 MB, free: 64 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.2303, allocations: 115.6 kB / 441.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.2307, allocations: 191.3 kB / 441.9 MB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03954/0.2702, allocations: 11.51 MB / 453.4 MB, free: 4.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.2702, allocations: 0 / 453.4 MB, free: 4.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2702, allocations: 4 kB / 453.4 MB, free: 4.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2702, allocations: 0 / 453.4 MB, free: 4.23 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.008794/0.279, allocations: 1.097 MB / 454.5 MB, free: 3.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.2791, allocations: 11.98 kB / 454.5 MB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.2801, allocations: 67.73 kB / 454.6 MB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007146/0.2809, allocations: 264.6 kB / 454.9 MB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.2809, allocations: 20.66 kB / 454.9 MB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-05/0.281, allocations: 32 kB / 454.9 MB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2827, allocations: 0.6113 MB / 455.5 MB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.2827, allocations: 7.891 kB / 455.5 MB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.2827, allocations: 12 kB / 455.6 MB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2828, allocations: 8 kB / 455.6 MB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2841, allocations: 386.3 kB / 455.9 MB, free: 1.59 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.00489/0.289, allocations: 2.176 MB / 458.1 MB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.2901, allocations: 283.6 kB / 458.4 MB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.2905, allocations: 120.8 kB / 458.5 MB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.2928, allocations: 471.4 kB / 459 MB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.2928, allocations: 35.06 kB / 459 MB, free: 14.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.614e-06/0.2928, allocations: 0 / 459 MB, free: 14.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.009914/0.3028, allocations: 1.158 MB / 460.2 MB, free: 13.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.3028, allocations: 59.41 kB / 460.2 MB, free: 13.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.3032, allocations: 232 kB / 460.4 MB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.3033, allocations: 29.7 kB / 460.5 MB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3035, allocations: 192.4 kB / 460.7 MB, free: 12.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3037, allocations: 134.8 kB / 460.8 MB, free: 12.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.3039, allocations: 78.19 kB / 460.9 MB, free: 12.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.3041, allocations: 342.8 kB / 461.2 MB, free: 12.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.3044, allocations: 113 kB / 461.3 MB, free: 12.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.305, allocations: 238.5 kB / 461.6 MB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/0.3059, allocations: 373.5 kB / 461.9 MB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3059, allocations: 4 kB / 461.9 MB, free: 11.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001655/0.3076, allocations: 458.9 kB / 462.4 MB, free: 10.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3076, allocations: 7.938 kB / 462.4 MB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.3076, allocations: 4 kB / 462.4 MB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.3188, allocations: 241.4 kB / 462.6 MB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.3194, allocations: 95.77 kB / 462.7 MB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.3218, allocations: 1.821 MB / 464.5 MB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.3222, allocations: 8 kB / 464.5 MB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.3222, allocations: 20 kB / 464.6 MB, free: 8.551 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.0003149/0.3226, allocations: 161.7 kB / 464.7 MB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.3229, allocations: 35.8 kB / 464.8 MB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.3246, allocations: 0.6982 MB / 465.4 MB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.3247, allocations: 11.92 kB / 465.5 MB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3247, allocations: 0 / 465.5 MB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/0.3263, allocations: 0.8916 MB / 466.4 MB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.3287, allocations: 1.072 MB / 467.4 MB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.3287, allocations: 8.047 kB / 467.4 MB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.3292, allocations: 67.91 kB / 467.5 MB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/0.3319, allocations: 180.5 kB / 467.7 MB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.3319, allocations: 11.98 kB / 467.7 MB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006332/0.3326, allocations: 0.5719 MB / 468.3 MB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3326, allocations: 0 / 468.3 MB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.3344, allocations: 0.7509 MB / 469 MB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.3345, allocations: 31.72 kB / 469 MB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.3345, allocations: 8.156 kB / 469 MB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3348, allocations: 8 kB / 469.1 MB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.3349, allocations: 27.95 kB / 469.1 MB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.335, allocations: 15.98 kB / 469.1 MB, free: 3.809 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003442/0.3353, allocations: 197.2 kB / 469.3 MB, free: 3.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3353, allocations: 0 / 469.3 MB, free: 3.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006941/0.3422, allocations: 0.7597 MB / 470.1 MB, free: 2.852 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.2465/0.5888, allocations: 6.394 MB / 476.4 MB, free: 79.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009634/0.5897, allocations: 475.1 kB / 476.9 MB, free: 79.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5897, allocations: 0 / 476.9 MB, free: 79.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.5901, allocations: 217.3 kB / 477.1 MB, free: 79.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.5911, allocations: 160.5 kB / 477.3 MB, free: 79.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.5925, allocations: 0.8935 MB / 478.2 MB, free: 79.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.5928, allocations: 204.5 kB / 478.4 MB, free: 79.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004635/0.5932, allocations: 192 kB / 478.6 MB, free: 79.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.5933, allocations: 41.88 kB / 478.6 MB, free: 79.41 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5933, allocations: 0 / 478.6 MB, free: 79.41 MB / 430.1 MB Notification: Performance of Templates: time 0.03274/0.626, allocations: 28.47 MB / 0.4952 GB, free: 59.29 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.069227073341608]