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.0008766/0.0008766, allocations: 83.64 kB / 21.43 MB, free: 3.133 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.004017/0.004017, allocations: 162.5 kB / 24.69 MB, free: 9.441 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.8422/0.8422, allocations: 158.6 MB / 186.5 MB, free: 3.043 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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.15e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1257/0.1257, allocations: 24.46 MB / 322.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.1403, allocations: 22.02 MB / 344.9 MB, free: 288 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.1406, allocations: 11.94 kB / 344.9 MB, free: 276 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.1411, allocations: 270.3 kB / 345.2 MB, free: 4 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.1417, allocations: 397.5 kB / 345.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007141/0.1488, allocations: 4.169 MB / 349.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007895/0.1496, allocations: 0.9577 MB / 350.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1498, allocations: 77.22 kB / 350.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.1503, allocations: 0.5181 MB / 351.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.1506, allocations: 271.2 kB / 351.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.1507, allocations: 40 kB / 351.6 MB, free: 9.555 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.1613, allocations: 10.16 MB / 361.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1614, allocations: 115.6 kB / 361.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1615, allocations: 167.7 kB / 362 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.1758, allocations: 11.99 MB / 374 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1758, allocations: 0 / 374 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1758, allocations: 0 / 374 MB, free: 3.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1758, allocations: 0 / 374 MB, free: 3.09 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.003786/0.1796, allocations: 1.106 MB / 375.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1796, allocations: 11.98 kB / 375.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.1797, allocations: 70.53 kB / 375.2 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1799, allocations: 63.78 kB / 375.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1803, allocations: 272.5 kB / 375.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1803, allocations: 20.66 kB / 375.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.1803, allocations: 40 kB / 375.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.1809, allocations: 0.6035 MB / 376.2 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1809, allocations: 3.938 kB / 376.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.1809, allocations: 16 kB / 376.2 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.181, allocations: 15.98 kB / 376.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.1814, allocations: 386.3 kB / 376.6 MB, free: 368 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.002038/0.1834, allocations: 2.217 MB / 378.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.1838, allocations: 274.8 kB / 379.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.1839, allocations: 129.3 kB / 379.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.1846, allocations: 463.5 kB / 379.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1846, allocations: 46.5 kB / 379.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.273e-06/0.1846, allocations: 0 / 379.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002735/0.1874, allocations: 1.145 MB / 380.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.1874, allocations: 55.41 kB / 380.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1876, allocations: 265.8 kB / 381.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1876, allocations: 33.7 kB / 381.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.1877, allocations: 196.4 kB / 381.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.1877, allocations: 126.9 kB / 381.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.1878, allocations: 78.19 kB / 381.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.1879, allocations: 334.8 kB / 381.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.188, allocations: 117 kB / 382.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1882, allocations: 235.2 kB / 382.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.1885, allocations: 377.1 kB / 382.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1885, allocations: 0 / 382.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005107/0.189, allocations: 459.1 kB / 383.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.189, allocations: 11.94 kB / 383.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.189, allocations: 7.938 kB / 383.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.1911, allocations: 233.4 kB / 383.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1913, allocations: 87.84 kB / 383.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008548/0.1922, allocations: 1.843 MB / 385.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.1923, allocations: 8 kB / 385.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.1925, allocations: 20 kB / 385.3 MB, free: 7.238 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.0001143/0.1926, allocations: 165.7 kB / 385.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.1927, allocations: 31.81 kB / 385.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.1933, allocations: 0.7101 MB / 386.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1933, allocations: 11.94 kB / 386.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.1933, allocations: 4.188 kB / 386.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005063/0.1938, allocations: 0.8763 MB / 387.1 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.1947, allocations: 1.137 MB / 388.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1947, allocations: 3.938 kB / 388.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1948, allocations: 67.89 kB / 388.3 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006869/0.1955, allocations: 181.4 kB / 388.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1955, allocations: 8 kB / 388.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000217/0.1957, allocations: 0.568 MB / 389.1 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1957, allocations: 3.984 kB / 389.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.1963, allocations: 0.7395 MB / 389.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.1964, allocations: 39.66 kB / 389.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1964, allocations: 15.95 kB / 389.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.1965, allocations: 8.875 kB / 389.9 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1965, allocations: 24.11 kB / 389.9 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1965, allocations: 15.98 kB / 389.9 MB, free: 2.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.1967, allocations: 219.1 kB / 390.1 MB, free: 2.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1967, allocations: 0 / 390.1 MB, free: 2.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002293/0.199, allocations: 0.7597 MB / 390.9 MB, free: 1.449 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.01455/0.2135, allocations: 7.7 MB / 398.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008264/0.2143, allocations: 474.7 kB / 399 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2143, allocations: 0 / 399 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.2146, allocations: 212 kB / 399.3 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.2153, allocations: 184.4 kB / 399.4 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.2205, allocations: 4.02 MB / 403.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.2207, allocations: 208.8 kB / 403.7 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.221, allocations: 186.9 kB / 403.8 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2211, allocations: 136.4 kB / 404 MB, free: 4.109 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2211, allocations: 4 kB / 404 MB, free: 4.105 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.2704, allocations: 35.18 MB / 439.2 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.832, allocations: 7.844 kB / 439.2 MB, free: 0.8008 MB / 394.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] 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: 12.302052444778383]