Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 73.88 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 150.6 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 45.75 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.0933, allocations: 52.17 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02933/0.1226, allocations: 24.62 MB / 396.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02747/0.1501, allocations: 22.06 MB / 418.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.1505, allocations: 15.88 kB / 418.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.1514, allocations: 270.5 kB / 418.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008057/0.1522, allocations: 381.8 kB / 418.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01114/0.1634, allocations: 4.099 MB / 423 MB, free: 3.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1647, allocations: 0.9543 MB / 424 MB, free: 2.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1649, allocations: 81.17 kB / 424 MB, free: 2.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006524/0.1655, allocations: 398.6 kB / 424.4 MB, free: 2.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.166, allocations: 298.7 kB / 424.7 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.166, allocations: 36 kB / 424.8 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01968/0.1857, allocations: 10.14 MB / 434.9 MB, free: 7.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.1859, allocations: 111.6 kB / 435 MB, free: 7.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.1863, allocations: 187.4 kB / 435.2 MB, free: 7.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03327/0.2196, allocations: 11.5 MB / 446.7 MB, free: 11.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2196, allocations: 0 / 446.7 MB, free: 11.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2196, allocations: 0 / 446.7 MB, free: 11.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.2196, allocations: 0 / 446.7 MB, free: 11.98 MB / 414.1 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.005822/0.2254, allocations: 1.097 MB / 447.8 MB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2254, allocations: 8.922 kB / 447.8 MB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005246/0.226, allocations: 71.73 kB / 447.9 MB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.2265, allocations: 268.6 kB / 448.1 MB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.2265, allocations: 28.66 kB / 448.2 MB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.2265, allocations: 31.94 kB / 448.2 MB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009722/0.2275, allocations: 0.6113 MB / 448.8 MB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2275, allocations: 0 / 448.8 MB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.2276, allocations: 16 kB / 448.8 MB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2276, allocations: 11.94 kB / 448.8 MB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.2283, allocations: 390.2 kB / 449.2 MB, free: 9.324 MB / 414.1 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.003173/0.2315, allocations: 2.165 MB / 451.4 MB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.2322, allocations: 281.6 kB / 451.6 MB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.2324, allocations: 132.8 kB / 451.8 MB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/0.2338, allocations: 463.9 kB / 452.2 MB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2339, allocations: 38.56 kB / 452.3 MB, free: 6.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.2339, allocations: 0 / 452.3 MB, free: 6.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00511/0.239, allocations: 1.14 MB / 453.4 MB, free: 4.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.239, allocations: 55.41 kB / 453.5 MB, free: 4.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.2393, allocations: 236 kB / 453.7 MB, free: 4.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.2393, allocations: 29.7 kB / 453.7 MB, free: 4.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2395, allocations: 212.2 kB / 453.9 MB, free: 4.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.518e-05/0.2395, allocations: 119 kB / 454 MB, free: 4.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2397, allocations: 86.08 kB / 454.1 MB, free: 4.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2398, allocations: 342.8 kB / 454.5 MB, free: 3.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.24, allocations: 113 kB / 454.6 MB, free: 3.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.2403, allocations: 230.6 kB / 454.8 MB, free: 3.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.2409, allocations: 370 kB / 455.2 MB, free: 3.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2409, allocations: 4 kB / 455.2 MB, free: 3.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008393/0.2417, allocations: 450.8 kB / 455.6 MB, free: 2.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2418, allocations: 11.94 kB / 455.6 MB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2418, allocations: 4 kB / 455.6 MB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/0.2464, allocations: 233.9 kB / 455.8 MB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.2467, allocations: 91.84 kB / 455.9 MB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.2482, allocations: 1.82 MB / 457.8 MB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2484, allocations: 12.06 kB / 457.8 MB, free: 348 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.2484, allocations: 24 kB / 457.8 MB, free: 324 kB / 414.1 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.0001942/0.2486, allocations: 169.9 kB / 458 MB, free: 144 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.2487, allocations: 27.86 kB / 458 MB, free: 116 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2497, allocations: 0.7094 MB / 458.7 MB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.2497, allocations: 7.938 kB / 458.7 MB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2497, allocations: 0 / 458.7 MB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009247/0.2507, allocations: 0.8763 MB / 459.6 MB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.2521, allocations: 1.079 MB / 460.7 MB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2521, allocations: 0 / 460.7 MB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.2524, allocations: 59.97 kB / 460.7 MB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.2539, allocations: 192.3 kB / 460.9 MB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.2539, allocations: 12 kB / 460.9 MB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003847/0.2543, allocations: 0.568 MB / 461.5 MB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2543, allocations: 0 / 461.5 MB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2553, allocations: 0.7512 MB / 462.2 MB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.2554, allocations: 39.72 kB / 462.3 MB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.2554, allocations: 7.938 kB / 462.3 MB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2556, allocations: 12 kB / 462.3 MB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.2556, allocations: 19.95 kB / 462.3 MB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.2557, allocations: 12 kB / 462.3 MB, free: 11.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2559, allocations: 205.1 kB / 462.5 MB, free: 11.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2559, allocations: 0 / 462.5 MB, free: 11.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00394/0.2598, allocations: 0.7481 MB / 463.3 MB, free: 10.63 MB / 430.1 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.02251/0.2823, allocations: 6.407 MB / 469.7 MB, free: 4.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2834, allocations: 474.1 kB / 470.1 MB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2834, allocations: 0 / 470.1 MB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.2838, allocations: 212.9 kB / 470.4 MB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2848, allocations: 160.8 kB / 470.5 MB, free: 3.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2864, allocations: 0.9145 MB / 471.4 MB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.2866, allocations: 196.9 kB / 471.6 MB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003752/0.287, allocations: 187.4 kB / 471.8 MB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.477e-05/0.2871, allocations: 40.48 kB / 471.8 MB, free: 1.988 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2871, allocations: 0 / 471.8 MB, free: 1.988 MB / 430.1 MB Notification: Performance of Templates: time 0.2238/0.5108, allocations: 28.41 MB / 0.4885 GB, free: 72.86 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.876813584007323]