Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.001537/0.001537, allocations: 80.97 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001875/0.001875, allocations: 157.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.499/1.499, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.032e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04107/0.04109, allocations: 34.52 MB / 359.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03665/0.07774, allocations: 27.14 MB / 386.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.07831, allocations: 7.938 kB / 386.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.07951, allocations: 385.6 kB / 387.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.08084, allocations: 0.555 MB / 387.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01492/0.09577, allocations: 5.355 MB / 393 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.09772, allocations: 1.367 MB / 394.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.09802, allocations: 127 kB / 394.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.09943, allocations: 0.7285 MB / 395.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.1001, allocations: 394.8 kB / 395.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.1002, allocations: 56 kB / 395.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02571/0.1259, allocations: 12.48 MB / 408.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.1263, allocations: 163.4 kB / 408.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.1269, allocations: 243.6 kB / 408.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.045/0.1719, allocations: 15.57 MB / 424.1 MB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1719, allocations: 0 / 424.1 MB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1719, allocations: 0 / 424.1 MB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1719, allocations: 0 / 424.1 MB, free: 1.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007738/0.1796, allocations: 1.392 MB / 425.5 MB, free: 328 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1796, allocations: 11.98 kB / 425.5 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.1805, allocations: 95.58 kB / 425.6 MB, free: 220 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.1811, allocations: 328.5 kB / 425.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.1811, allocations: 40.94 kB / 425.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.1812, allocations: 44 kB / 426 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.1825, allocations: 0.8252 MB / 426.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.1826, allocations: 3.938 kB / 426.8 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.1826, allocations: 24 kB / 426.8 MB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.1826, allocations: 12 kB / 426.8 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1837, allocations: 0.5268 MB / 427.4 MB, free: 14.29 MB / 398.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.003893/0.1876, allocations: 2.728 MB / 430.1 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.1886, allocations: 392.8 kB / 430.5 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.1889, allocations: 198.8 kB / 430.7 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/0.191, allocations: 0.6129 MB / 431.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.1911, allocations: 42.92 kB / 431.3 MB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.064e-06/0.1911, allocations: 0 / 431.3 MB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.01074/0.2018, allocations: 1.899 MB / 433.2 MB, free: 8.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.2018, allocations: 63.84 kB / 433.3 MB, free: 8.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.2022, allocations: 285.7 kB / 433.6 MB, free: 7.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.2022, allocations: 33.7 kB / 433.6 MB, free: 7.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.2024, allocations: 237.1 kB / 433.8 MB, free: 7.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.2026, allocations: 198.3 kB / 434 MB, free: 7.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.2028, allocations: 114.3 kB / 434.1 MB, free: 7.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.203, allocations: 354.7 kB / 434.5 MB, free: 6.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.2033, allocations: 173.2 kB / 434.7 MB, free: 6.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.2038, allocations: 332.1 kB / 435 MB, free: 6.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008879/0.2047, allocations: 0.5535 MB / 435.5 MB, free: 5.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2047, allocations: 0 / 435.5 MB, free: 5.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001518/0.2062, allocations: 0.6712 MB / 436.2 MB, free: 5.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2062, allocations: 11.98 kB / 436.2 MB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2062, allocations: 4 kB / 436.2 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01292/0.2192, allocations: 470.6 kB / 436.7 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.2198, allocations: 139.8 kB / 436.8 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.2223, allocations: 2.963 MB / 439.8 MB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.2226, allocations: 23.98 kB / 439.8 MB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.2227, allocations: 24.06 kB / 439.8 MB, free: 1.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000284/0.2229, allocations: 197.6 kB / 440 MB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.2232, allocations: 43.77 kB / 440.1 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.2249, allocations: 1.075 MB / 441.1 MB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.2249, allocations: 11.98 kB / 441.1 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2249, allocations: 4.094 kB / 441.1 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/0.2263, allocations: 1.114 MB / 442.3 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.2285, allocations: 1.588 MB / 443.9 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2285, allocations: 3.938 kB / 443.9 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.229, allocations: 103.9 kB / 444 MB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/0.2321, allocations: 345.1 kB / 444.3 MB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.2322, allocations: 16 kB / 444.3 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/0.2331, allocations: 1.156 MB / 445.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2331, allocations: 0 / 445.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.2348, allocations: 1.147 MB / 446.6 MB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.2349, allocations: 47.69 kB / 446.7 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.2349, allocations: 15.95 kB / 446.7 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2352, allocations: 8 kB / 446.7 MB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.2352, allocations: 36.44 kB / 446.7 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.2353, allocations: 19.98 kB / 446.7 MB, free: 10.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.2355, allocations: 231 kB / 447 MB, free: 9.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2355, allocations: 0 / 447 MB, free: 9.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004852/0.2404, allocations: 0.9857 MB / 447.9 MB, free: 8.973 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.03008/0.2705, allocations: 8.013 MB / 456 MB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.2722, allocations: 0.6923 MB / 456.7 MB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2722, allocations: 0 / 456.7 MB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.2728, allocations: 351.3 kB / 457 MB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.2742, allocations: 232.5 kB / 457.2 MB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.2764, allocations: 1.245 MB / 458.5 MB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2766, allocations: 268.7 kB / 458.7 MB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004825/0.2771, allocations: 227.9 kB / 459 MB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.2772, allocations: 48.48 kB / 459 MB, free: 13.83 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2772, allocations: 0 / 459 MB, free: 13.83 MB / 430.1 MB Notification: Performance of Templates: time 0.2031/0.4804, allocations: 35.76 MB / 494.8 MB, free: 114.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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: 9.031860876828432]