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.001355/0.001355, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001616/0.001616, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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 0.9596/0.9596, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.273e-06/1.273e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.399e-05, allocations: 2.312 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1452/0.1453, allocations: 27.38 MB / 300.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.1631, allocations: 24.94 MB / 325.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.1634, allocations: 8.656 kB / 325.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.1642, allocations: 264.1 kB / 325.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006789/0.1649, allocations: 396.8 kB / 326 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009334/0.1742, allocations: 4.176 MB / 330.2 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009614/0.1752, allocations: 0.9538 MB / 331.2 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.1754, allocations: 89.55 kB / 331.2 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005988/0.176, allocations: 0.5159 MB / 331.8 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.1764, allocations: 279.2 kB / 332 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1764, allocations: 37.72 kB / 332.1 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.1879, allocations: 10.18 MB / 342.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.1881, allocations: 111.6 kB / 342.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.1884, allocations: 167.7 kB / 342.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0198/0.2082, allocations: 11.8 MB / 354.3 MB, free: 200 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2082, allocations: 0 / 354.3 MB, free: 200 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2082, allocations: 0 / 354.3 MB, free: 200 kB / 298.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2082, allocations: 3.938 kB / 354.3 MB, free: 196 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.004648/0.2128, allocations: 1.2 MB / 355.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2129, allocations: 12.03 kB / 355.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.2134, allocations: 139.1 kB / 355.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.2137, allocations: 269.2 kB / 355.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2138, allocations: 26.38 kB / 356 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.2138, allocations: 32 kB / 356 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.2144, allocations: 0.5374 MB / 356.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2144, allocations: 0 / 356.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2145, allocations: 19.94 kB / 356.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2145, allocations: 9.719 kB / 356.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2149, allocations: 243.6 kB / 356.8 MB, free: 13.56 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.002146/0.217, allocations: 2.609 MB / 359.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.2175, allocations: 212.1 kB / 359.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2176, allocations: 91.66 kB / 359.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/0.2182, allocations: 402.2 kB / 360.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.2183, allocations: 41.39 kB / 360.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.367e-06/0.2183, allocations: 4 kB / 360.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003597/0.2219, allocations: 0.991 MB / 361.1 MB, free: 9.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2219, allocations: 55.41 kB / 361.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.2221, allocations: 282.4 kB / 361.5 MB, free: 8.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.2221, allocations: 41.7 kB / 361.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2222, allocations: 243 kB / 361.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.2223, allocations: 123 kB / 361.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.2224, allocations: 91.8 kB / 361.9 MB, free: 8.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2225, allocations: 0.5079 MB / 362.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2226, allocations: 64.95 kB / 362.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.2228, allocations: 231.2 kB / 362.7 MB, free: 7.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.2231, allocations: 310.8 kB / 363.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2231, allocations: 4 kB / 363.1 MB, free: 6.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005792/0.2237, allocations: 396.2 kB / 363.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2237, allocations: 8 kB / 363.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.2237, allocations: 4 kB / 363.5 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002976/0.2267, allocations: 239.5 kB / 363.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.2269, allocations: 91.84 kB / 363.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.2282, allocations: 2.539 MB / 366.3 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2283, allocations: 16.17 kB / 366.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.2283, allocations: 27.92 kB / 366.4 MB, free: 3.488 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.0001251/0.2284, allocations: 184.4 kB / 366.5 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2286, allocations: 55.69 kB / 366.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000571/0.2291, allocations: 487.5 kB / 367.1 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.2291, allocations: 4 kB / 367.1 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2291, allocations: 4.812 kB / 367.1 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00056/0.2297, allocations: 0.6564 MB / 367.7 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.2305, allocations: 0.8582 MB / 368.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2305, allocations: 0 / 368.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.2307, allocations: 59.91 kB / 368.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007408/0.2314, allocations: 163.3 kB / 368.8 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.2314, allocations: 21.05 kB / 368.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00025/0.2317, allocations: 0.7922 MB / 369.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2317, allocations: 0 / 369.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.2323, allocations: 0.5783 MB / 370.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.2323, allocations: 35.69 kB / 370.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2323, allocations: 4 kB / 370.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.2324, allocations: 12 kB / 370.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.2324, allocations: 19.95 kB / 370.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2325, allocations: 18.92 kB / 370.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.2326, allocations: 217.2 kB / 370.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2326, allocations: 0 / 370.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003259/0.2358, allocations: 0.7558 MB / 371.3 MB, free: 14.37 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.01677/0.2526, allocations: 6.518 MB / 377.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.2534, allocations: 434.3 kB / 378.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2534, allocations: 8 kB / 378.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.2536, allocations: 153.6 kB / 378.4 MB, free: 7.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.2542, allocations: 165.4 kB / 378.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2555, allocations: 0.7803 MB / 379.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.2556, allocations: 118.9 kB / 379.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.2559, allocations: 188.3 kB / 379.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.2559, allocations: 32.5 kB / 379.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2559, allocations: 0 / 379.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of Templates: time 0.02753/0.2835, allocations: 28.95 MB / 408.6 MB, free: 9.066 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.616896725958213]