Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.002046/0.002046, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002523/0.002523, allocations: 164.5 kB / 25.02 MB, free: 8.945 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 1.498/1.498, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.598e-05, allocations: 6.109 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06686/0.06689, allocations: 45.46 MB / 295.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.07458, allocations: 4.693 MB / 300.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.07483, allocations: 7.938 kB / 300.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008029/0.07563, allocations: 230.5 kB / 300.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008485/0.07648, allocations: 393.4 kB / 301.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0181/0.09458, allocations: 6.867 MB / 308 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.09616, allocations: 1.103 MB / 309.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.0964, allocations: 93.83 kB / 309.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00774/0.1041, allocations: 3.778 MB / 313 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.1048, allocations: 371 kB / 313.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1049, allocations: 56 kB / 313.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/0.1235, allocations: 9.215 MB / 322.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.1239, allocations: 243.3 kB / 322.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.1243, allocations: 239.6 kB / 323.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.1391, allocations: 6.664 MB / 329.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1391, allocations: 0 / 329.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1391, allocations: 0 / 329.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1391, allocations: 0 / 329.8 MB, free: 8.188 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004075/0.1432, allocations: 1.308 MB / 331.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1432, allocations: 15.98 kB / 331.1 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.1437, allocations: 103.5 kB / 331.2 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.1444, allocations: 320.2 kB / 331.5 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.1444, allocations: 37 kB / 331.5 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1445, allocations: 52 kB / 331.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.1462, allocations: 0.8855 MB / 332.5 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.1463, allocations: 0 / 332.5 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/0.1463, allocations: 24 kB / 332.5 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1463, allocations: 8 kB / 332.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.1479, allocations: 0.7417 MB / 333.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.162, allocations: 3.602 MB / 336.8 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1634, allocations: 0.5047 MB / 337.3 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.1638, allocations: 242.2 kB / 337.6 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.176, allocations: 2.582 MB / 340.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.1761, allocations: 43.06 kB / 340.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.224e-06/0.1761, allocations: 3.938 kB / 340.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.006514/0.1826, allocations: 1.923 MB / 342.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1827, allocations: 55.91 kB / 342.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.183, allocations: 273.6 kB / 342.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.1831, allocations: 37.7 kB / 342.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.1833, allocations: 209.2 kB / 342.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1835, allocations: 202.2 kB / 342.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.1837, allocations: 114.3 kB / 343 MB, free: 10.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1839, allocations: 342.8 kB / 343.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.1844, allocations: 241.2 kB / 343.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007457/0.1851, allocations: 340.4 kB / 343.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.1865, allocations: 0.6007 MB / 344.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1865, allocations: 8 kB / 344.5 MB, free: 9.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002457/0.1889, allocations: 0.8076 MB / 345.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1889, allocations: 4 kB / 345.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.189, allocations: 4 kB / 345.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/0.1895, allocations: 114.8 kB / 345.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.1901, allocations: 127.8 kB / 345.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.1934, allocations: 3.22 MB / 348.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.1937, allocations: 16 kB / 348.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-05/0.1938, allocations: 31.98 kB / 348.8 MB, free: 4.488 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.1941, allocations: 193.6 kB / 349 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/0.1945, allocations: 95.34 kB / 349.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.1963, allocations: 0.8203 MB / 349.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1963, allocations: 8 kB / 349.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1963, allocations: 4.094 kB / 349.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.1977, allocations: 0.765 MB / 350.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.2, allocations: 1.127 MB / 351.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2, allocations: 0 / 351.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.2005, allocations: 99.83 kB / 351.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009819/0.2015, allocations: 152.7 kB / 352.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.2015, allocations: 19.92 kB / 352.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008237/0.2024, allocations: 0.6406 MB / 352.7 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.2024, allocations: 7.938 kB / 352.8 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1044/0.3068, allocations: 0.9458 MB / 353.7 MB, free: 106.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3069, allocations: 34.75 kB / 353.7 MB, free: 106.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.307, allocations: 12.64 kB / 353.7 MB, free: 106.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.3074, allocations: 22.11 kB / 353.8 MB, free: 106.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.3075, allocations: 40.41 kB / 353.8 MB, free: 106.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.3076, allocations: 30.89 kB / 353.8 MB, free: 106.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.3079, allocations: 214.9 kB / 354 MB, free: 106.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3079, allocations: 0 / 354 MB, free: 106.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003177/0.311, allocations: 1.319 MB / 355.4 MB, free: 106.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004646/0.3157, allocations: 1.879 MB / 357.2 MB, free: 106.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.317, allocations: 0.7758 MB / 358 MB, free: 106.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.317, allocations: 0 / 358 MB, free: 106.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.3175, allocations: 283.1 kB / 358.3 MB, free: 106 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3187, allocations: 243.3 kB / 358.5 MB, free: 106 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3204, allocations: 1.021 MB / 359.6 MB, free: 105.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.3205, allocations: 231 kB / 359.8 MB, free: 105.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.321, allocations: 130.3 kB / 359.9 MB, free: 105.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3211, allocations: 56.73 kB / 360 MB, free: 105.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3211, allocations: 2.734 kB / 360 MB, free: 105.4 MB / 330.7 MB Notification: Performance of Templates: time 0.04677/0.3679, allocations: 45.89 MB / 405.9 MB, free: 60.1 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.00684161100071]