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.001978/0.001978, allocations: 103.5 kB / 20.97 MB, free: 3.438 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.001978/0.001978, allocations: 156.9 kB / 24.27 MB, free: 144 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.553/1.553, allocations: 177 MB / 204.5 MB, free: 5.598 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.442e-06/1.442e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.56e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1623/0.1623, allocations: 27.3 MB / 299.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02359/0.1859, allocations: 24.93 MB / 324.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.1863, allocations: 13.66 kB / 324.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009654/0.1872, allocations: 270.3 kB / 324.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1883, allocations: 398.6 kB / 325.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01283/0.2011, allocations: 4.192 MB / 329.3 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2026, allocations: 0.9515 MB / 330.2 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.2029, allocations: 85.73 kB / 330.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.2038, allocations: 0.5155 MB / 330.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.2043, allocations: 277.4 kB / 331.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.2044, allocations: 36 kB / 331.2 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02319/0.2276, allocations: 10.17 MB / 341.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.2279, allocations: 115.6 kB / 341.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.2283, allocations: 167.7 kB / 341.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03775/0.266, allocations: 12.01 MB / 353.6 MB, free: 28 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.266, allocations: 0 / 353.6 MB, free: 28 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.266, allocations: 0 / 353.6 MB, free: 28 kB / 298.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.266, allocations: 0 / 353.6 MB, free: 28 kB / 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.0067/0.2727, allocations: 1.229 MB / 354.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2728, allocations: 11.98 kB / 354.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007545/0.2735, allocations: 140.5 kB / 355 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.274, allocations: 272.7 kB / 355.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.274, allocations: 24.66 kB / 355.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.2741, allocations: 37.31 kB / 355.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.2752, allocations: 0.6116 MB / 355.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2752, allocations: 0 / 355.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.2753, allocations: 15.94 kB / 355.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.2753, allocations: 9.344 kB / 356 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007679/0.2761, allocations: 334.3 kB / 356.3 MB, free: 13.21 MB / 314.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.004529/0.2806, allocations: 2.73 MB / 359 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.2814, allocations: 285.4 kB / 359.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.2817, allocations: 136.1 kB / 359.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.283, allocations: 406.2 kB / 359.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.283, allocations: 45.38 kB / 359.9 MB, free: 9.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.283, allocations: 3.938 kB / 359.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.005644/0.2887, allocations: 1.19 MB / 361.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.2887, allocations: 55.41 kB / 361.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.2891, allocations: 326.5 kB / 361.4 MB, free: 7.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2891, allocations: 29.7 kB / 361.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.2893, allocations: 247.1 kB / 361.7 MB, free: 7.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2894, allocations: 131 kB / 361.8 MB, free: 7.473 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.2896, allocations: 103.8 kB / 361.9 MB, free: 7.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.2899, allocations: 0.5274 MB / 362.5 MB, free: 6.824 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.2901, allocations: 108.9 kB / 362.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.2908, allocations: 291.9 kB / 362.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.2914, allocations: 432.8 kB / 363.3 MB, free: 5.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2914, allocations: 0 / 363.3 MB, free: 5.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001046/0.2925, allocations: 488.7 kB / 363.7 MB, free: 5.387 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2925, allocations: 8 kB / 363.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2925, allocations: 8 kB / 363.8 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006031/0.2985, allocations: 255.1 kB / 364 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.2989, allocations: 87.84 kB / 364.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.3013, allocations: 2.616 MB / 366.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.3015, allocations: 12 kB / 366.7 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.3016, allocations: 23.94 kB / 366.7 MB, free: 2.223 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.0002529/0.3018, allocations: 204.4 kB / 366.9 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.302, allocations: 55.67 kB / 367 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.3031, allocations: 0.5521 MB / 367.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3031, allocations: 9.438 kB / 367.6 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3031, allocations: 0 / 367.6 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008986/0.304, allocations: 0.7113 MB / 368.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.3056, allocations: 0.9907 MB / 369.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3056, allocations: 0 / 369.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.3059, allocations: 67.91 kB / 369.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.3076, allocations: 167.4 kB / 369.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.3076, allocations: 4 kB / 369.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008279/0.3084, allocations: 0.8273 MB / 370.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3084, allocations: 0 / 370.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3096, allocations: 0.6996 MB / 371 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.3096, allocations: 39.67 kB / 371.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.3097, allocations: 7.938 kB / 371.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3099, allocations: 8 kB / 371.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3099, allocations: 23.95 kB / 371.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.31, allocations: 16.09 kB / 371.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.3102, allocations: 245.1 kB / 371.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3102, allocations: 0 / 371.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004616/0.3148, allocations: 0.7558 MB / 372.1 MB, free: 12.64 MB / 330.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.02681/0.3417, allocations: 6.51 MB / 378.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.3428, allocations: 0.5139 MB / 379.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3428, allocations: 4 kB / 379.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.3433, allocations: 193 kB / 379.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3444, allocations: 172.8 kB / 379.5 MB, free: 5.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3461, allocations: 0.8162 MB / 380.3 MB, free: 4.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3463, allocations: 200.9 kB / 380.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004259/0.3467, allocations: 184.2 kB / 380.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3468, allocations: 40.44 kB / 380.7 MB, free: 3.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3468, allocations: 0 / 380.7 MB, free: 3.941 MB / 330.7 MB Notification: Performance of Templates: time 0.05041/0.3972, allocations: 28.9 MB / 409.6 MB, free: 7.129 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] 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.441665892954916]