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.001496/0.001496, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001683/0.001683, allocations: 157.7 kB / 24.26 MB, free: 176 kB / 18.57 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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 1.563e-06/1.563e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.56e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1406/0.1406, allocations: 24.52 MB / 296.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0199/0.1605, allocations: 22.06 MB / 318.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.1608, allocations: 7.625 kB / 318.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007328/0.1616, allocations: 273.6 kB / 319.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.1622, allocations: 386.7 kB / 319.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01204/0.1743, allocations: 4.173 MB / 323.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1758, allocations: 0.9577 MB / 324.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.176, allocations: 81.73 kB / 324.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.1769, allocations: 0.5275 MB / 325.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.1773, allocations: 265 kB / 325.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.1774, allocations: 40 kB / 325.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02126/0.1987, allocations: 10.17 MB / 335.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.1989, allocations: 123.6 kB / 335.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.1993, allocations: 169.4 kB / 336.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03292/0.2322, allocations: 12.01 MB / 348.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.2322, allocations: 0 / 348.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2322, allocations: 4 kB / 348.1 MB, free: 5.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.2322, allocations: 0 / 348.1 MB, free: 5.09 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.00704/0.2393, allocations: 1.095 MB / 349.2 MB, free: 3.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2393, allocations: 12.03 kB / 349.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.2401, allocations: 136.8 kB / 349.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.2407, allocations: 260.7 kB / 349.6 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.2407, allocations: 26.31 kB / 349.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.2408, allocations: 39.98 kB / 349.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2419, allocations: 0.6035 MB / 350.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.242, allocations: 11.45 kB / 350.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.242, allocations: 15.94 kB / 350.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.242, allocations: 9.719 kB / 350.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.2429, allocations: 386.3 kB / 350.6 MB, free: 2.383 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.003985/0.2468, allocations: 2.176 MB / 352.8 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.2476, allocations: 278.8 kB / 353.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.2479, allocations: 135.8 kB / 353.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.2496, allocations: 470.2 kB / 353.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.2496, allocations: 34.55 kB / 353.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.2496, allocations: 0 / 353.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.005941/0.2555, allocations: 1.183 MB / 354.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.2556, allocations: 55.41 kB / 355 MB, free: 13.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.2559, allocations: 236 kB / 355.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.2559, allocations: 33.7 kB / 355.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2561, allocations: 192.3 kB / 355.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2563, allocations: 134.8 kB / 355.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.2564, allocations: 78.19 kB / 355.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.2566, allocations: 338.8 kB / 355.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.2568, allocations: 109 kB / 356 MB, free: 12.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.2572, allocations: 234.6 kB / 356.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.2578, allocations: 370.8 kB / 356.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2578, allocations: 3.188 kB / 356.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001082/0.2589, allocations: 486.6 kB / 357.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2589, allocations: 8 kB / 357.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.2589, allocations: 4 kB / 357.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006172/0.2651, allocations: 253.8 kB / 357.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.2655, allocations: 86.67 kB / 357.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.2674, allocations: 1.816 MB / 359.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.2676, allocations: 16 kB / 359.3 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.2676, allocations: 19.94 kB / 359.3 MB, free: 9.305 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.0004519/0.2681, allocations: 170 kB / 359.5 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.2683, allocations: 51.69 kB / 359.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.2696, allocations: 0.707 MB / 360.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.2696, allocations: 7.984 kB / 360.2 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2696, allocations: 0 / 360.2 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.2707, allocations: 0.8763 MB / 361.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.2724, allocations: 1.079 MB / 362.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2724, allocations: 0 / 362.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.2727, allocations: 68.78 kB / 362.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.2745, allocations: 186.8 kB / 362.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.2745, allocations: 4 kB / 362.5 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005341/0.275, allocations: 0.5836 MB / 363 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.275, allocations: 0 / 363 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.2763, allocations: 0.751 MB / 363.8 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.2764, allocations: 39.7 kB / 363.8 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.2765, allocations: 16.95 kB / 363.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.2766, allocations: 4 kB / 363.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.2767, allocations: 27.89 kB / 363.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.2767, allocations: 15.94 kB / 363.9 MB, free: 4.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.277, allocations: 197.2 kB / 364.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.277, allocations: 0 / 364.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004332/0.2813, allocations: 0.7597 MB / 364.8 MB, free: 3.586 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.02715/0.3085, allocations: 6.525 MB / 371.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3096, allocations: 461.6 kB / 371.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3096, allocations: 4 kB / 371.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.31, allocations: 209.2 kB / 372 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.311, allocations: 176.4 kB / 372.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3127, allocations: 0.8324 MB / 373 MB, free: 11.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.3129, allocations: 196.9 kB / 373.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.3133, allocations: 200.1 kB / 373.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.3134, allocations: 36.5 kB / 373.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3134, allocations: 0 / 373.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of Templates: time 0.04817/0.3616, allocations: 28.85 MB / 402.3 MB, free: 14.16 MB / 362.7 MB " [Timeout remaining time 660] 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/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_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: 7.424423135933466]