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.002085/0.002085, allocations: 96.27 kB / 20.96 MB, free: 3.582 MB / 18.57 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.002627/0.002627, allocations: 156.8 kB / 24.26 MB, free: 284 kB / 18.57 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.533/1.533, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 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 1.693e-06/1.693e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.691e-05, allocations: 5.266 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1433/0.1433, allocations: 24.51 MB / 296.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.1636, allocations: 22.07 MB / 318.8 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.1639, allocations: 9.375 kB / 318.8 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.1647, allocations: 269.7 kB / 319.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006859/0.1654, allocations: 394.2 kB / 319.5 MB, free: 440 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.1778, allocations: 4.18 MB / 323.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1793, allocations: 0.9546 MB / 324.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1795, allocations: 81.75 kB / 324.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008421/0.1804, allocations: 0.5196 MB / 325.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.1808, allocations: 278.3 kB / 325.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.1809, allocations: 43.88 kB / 325.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02105/0.2019, allocations: 10.16 MB / 335.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.2022, allocations: 124.3 kB / 335.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.2026, allocations: 167.7 kB / 335.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03149/0.2341, allocations: 12.01 MB / 348 MB, free: 4.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.2341, allocations: 4.797 kB / 348 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2341, allocations: 0 / 348 MB, free: 4.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.2341, allocations: 0.7812 kB / 348 MB, free: 4.961 MB / 298.7 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.006393/0.2405, allocations: 1.094 MB / 349.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2405, allocations: 12.8 kB / 349.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.2413, allocations: 139.1 kB / 349.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.2418, allocations: 270.2 kB / 349.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.2419, allocations: 25.44 kB / 349.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.2419, allocations: 36 kB / 349.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.2433, allocations: 0.6035 MB / 350.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2434, allocations: 0.8125 kB / 350.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.2434, allocations: 20.81 kB / 350.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2434, allocations: 8.812 kB / 350.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.2442, allocations: 387 kB / 350.5 MB, free: 2.25 MB / 298.7 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.003677/0.2479, allocations: 2.186 MB / 352.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.2486, allocations: 274.8 kB / 353 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2488, allocations: 127.3 kB / 353.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.2505, allocations: 468.5 kB / 353.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.2505, allocations: 36.06 kB / 353.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.2505, allocations: 5.656 kB / 353.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.005865/0.2564, allocations: 1.18 MB / 354.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.2565, allocations: 55.41 kB / 354.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2567, allocations: 232.8 kB / 355.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.2568, allocations: 33.7 kB / 355.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.257, allocations: 204.2 kB / 355.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.2571, allocations: 126.9 kB / 355.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2572, allocations: 78.19 kB / 355.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.2574, allocations: 338.8 kB / 355.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.2577, allocations: 113 kB / 356 MB, free: 12.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.258, allocations: 230.6 kB / 356.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.2587, allocations: 365.5 kB / 356.5 MB, free: 12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2587, allocations: 4.625 kB / 356.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001089/0.2598, allocations: 494.5 kB / 357 MB, free: 11.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2598, allocations: 7.984 kB / 357 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2598, allocations: 4.938 kB / 357 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/0.2662, allocations: 245.9 kB / 357.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.2666, allocations: 95.83 kB / 357.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.2685, allocations: 1.818 MB / 359.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.2687, allocations: 16.03 kB / 359.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.2687, allocations: 23.92 kB / 359.2 MB, free: 9.168 MB / 314.7 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.000226/0.269, allocations: 162.7 kB / 359.4 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.2692, allocations: 47.69 kB / 359.4 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2704, allocations: 0.7103 MB / 360.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.2705, allocations: 8 kB / 360.1 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.2705, allocations: 0 / 360.1 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.2716, allocations: 0.8766 MB / 361 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.2733, allocations: 1.087 MB / 362.1 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2733, allocations: 0 / 362.1 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.2736, allocations: 67.91 kB / 362.2 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.2753, allocations: 176.5 kB / 362.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2754, allocations: 11.94 kB / 362.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005191/0.2759, allocations: 0.5796 MB / 362.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2759, allocations: 0 / 362.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2772, allocations: 0.7631 MB / 363.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.2772, allocations: 31.72 kB / 363.7 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.2773, allocations: 11.95 kB / 363.7 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.2775, allocations: 8 kB / 363.8 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.2775, allocations: 23.95 kB / 363.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.2776, allocations: 15.98 kB / 363.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.2778, allocations: 197.2 kB / 364 MB, free: 4.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2778, allocations: 0 / 364 MB, free: 4.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004628/0.2824, allocations: 0.7558 MB / 364.7 MB, free: 3.449 MB / 314.7 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.02654/0.309, allocations: 6.518 MB / 371.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.3103, allocations: 469.6 kB / 371.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3104, allocations: 4 kB / 371.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.3108, allocations: 204.4 kB / 371.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3119, allocations: 177 kB / 372.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3135, allocations: 0.829 MB / 372.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3138, allocations: 200.9 kB / 373.1 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004182/0.3142, allocations: 192.8 kB / 373.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.3143, allocations: 36.48 kB / 373.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3143, allocations: 4 kB / 373.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of Templates: time 0.04742/0.3617, allocations: 28.83 MB / 402.2 MB, free: 14.05 MB / 362.7 MB " [Timeout remaining time 660] 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: 7.372074774000794]