Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008489/0.0008489, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009399/0.0009399, allocations: 159.2 kB / 25.45 MB, free: 8.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8462/0.8462, allocations: 158.6 MB / 187.2 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 299.7 MB, free: 3.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.668e-05, allocations: 2.281 kB / 299.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1581/0.1581, allocations: 24.45 MB / 324.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.1752, allocations: 22.03 MB / 346.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.1757, allocations: 4 kB / 346.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.1765, allocations: 278.2 kB / 346.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000686/0.1772, allocations: 393.5 kB / 346.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009648/0.1869, allocations: 4.174 MB / 351 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000932/0.1878, allocations: 0.9538 MB / 352 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.188, allocations: 77.22 kB / 352.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.1885, allocations: 0.5142 MB / 352.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1888, allocations: 275.2 kB / 352.8 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.1888, allocations: 36 kB / 352.9 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/0.2016, allocations: 10.15 MB / 363 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.2018, allocations: 115.6 kB / 363.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.202, allocations: 171.7 kB / 363.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.2184, allocations: 12 MB / 375.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2184, allocations: 4 kB / 375.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2184, allocations: 0 / 375.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2184, allocations: 0 / 375.3 MB, free: 2.801 MB / 330.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.005365/0.2238, allocations: 1.097 MB / 376.4 MB, free: 1.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2239, allocations: 17.3 kB / 376.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.2242, allocations: 63.73 kB / 376.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.2246, allocations: 268.6 kB / 376.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2246, allocations: 20.66 kB / 376.8 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.2247, allocations: 39.95 kB / 376.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.2254, allocations: 0.6035 MB / 377.4 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2255, allocations: 4 kB / 377.4 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2255, allocations: 15.94 kB / 377.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.2255, allocations: 12 kB / 377.4 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.2259, allocations: 390.2 kB / 377.8 MB, free: 156 kB / 330.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.001981/0.2279, allocations: 2.153 MB / 380 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.2283, allocations: 285.7 kB / 380.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.2285, allocations: 125.2 kB / 380.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.2295, allocations: 469.5 kB / 380.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2295, allocations: 34.56 kB / 380.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.2295, allocations: 4 kB / 380.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002827/0.2323, allocations: 1.147 MB / 382 MB, free: 11.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2324, allocations: 59.34 kB / 382.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2325, allocations: 236 kB / 382.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2325, allocations: 29.7 kB / 382.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.2326, allocations: 196.3 kB / 382.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.2327, allocations: 119 kB / 382.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.2328, allocations: 86.14 kB / 382.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.2329, allocations: 338.8 kB / 383.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.233, allocations: 109.9 kB / 383.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2332, allocations: 230.7 kB / 383.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.2335, allocations: 381.4 kB / 383.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2335, allocations: 3.125 kB / 383.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005039/0.234, allocations: 454.7 kB / 384.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.234, allocations: 8.438 kB / 384.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.234, allocations: 8 kB / 384.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/0.2361, allocations: 233.4 kB / 384.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.2363, allocations: 87.84 kB / 384.5 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.2374, allocations: 1.817 MB / 386.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.2375, allocations: 15.94 kB / 386.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.2375, allocations: 23.94 kB / 386.4 MB, free: 7.168 MB / 346.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.0001437/0.2376, allocations: 165.7 kB / 386.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.2377, allocations: 27.81 kB / 386.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.2384, allocations: 0.7058 MB / 387.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.2384, allocations: 7.984 kB / 387.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2384, allocations: 0 / 387.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009115/0.2393, allocations: 0.8763 MB / 388.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009705/0.2403, allocations: 1.091 MB / 389.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2403, allocations: 0 / 389.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2404, allocations: 64.78 kB / 389.3 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006882/0.2411, allocations: 172.5 kB / 389.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2411, allocations: 19.98 kB / 389.5 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002449/0.2414, allocations: 0.5835 MB / 390.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2414, allocations: 0 / 390.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.242, allocations: 0.7395 MB / 390.8 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.242, allocations: 27.78 kB / 390.9 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.2421, allocations: 16.77 kB / 390.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.2422, allocations: 15.98 kB / 390.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.2422, allocations: 23.89 kB / 390.9 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2422, allocations: 12 kB / 390.9 MB, free: 2.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2423, allocations: 205.4 kB / 391.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2423, allocations: 0 / 391.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00412/0.2465, allocations: 0.7481 MB / 391.9 MB, free: 1.48 MB / 346.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.01538/0.2618, allocations: 6.501 MB / 398.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008084/0.2627, allocations: 467.1 kB / 398.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2627, allocations: 4 kB / 398.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.2629, allocations: 216 kB / 399.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.2635, allocations: 178.6 kB / 399.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2647, allocations: 0.849 MB / 400.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.2648, allocations: 204.9 kB / 400.3 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.2649, allocations: 40.48 kB / 400.3 MB, free: 8.965 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2649, allocations: 0 / 400.3 MB, free: 8.965 MB / 362.7 MB Notification: Performance of Templates: time 0.02516/0.29, allocations: 29.37 MB / 429.7 MB, free: 11.55 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.387358930893242]