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.001271/0.001271, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001481/0.001481, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.8358/0.8358, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|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.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.427e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03638/0.0364, allocations: 51.33 MB / 302.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.04052, allocations: 5.258 MB / 307.7 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.04067, allocations: 7.938 kB / 307.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.04122, allocations: 242.4 kB / 308 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.04166, allocations: 385.5 kB / 308.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.05198, allocations: 6.855 MB / 315.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007492/0.05273, allocations: 1.107 MB / 316.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.05289, allocations: 89.88 kB / 316.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.05707, allocations: 3.782 MB / 320.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.05752, allocations: 371 kB / 320.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.05758, allocations: 56 kB / 320.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009738/0.06731, allocations: 9.219 MB / 329.8 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.06749, allocations: 243.4 kB / 330 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.06769, allocations: 243.6 kB / 330.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005736/0.07343, allocations: 6.36 MB / 336.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.07343, allocations: 0 / 336.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.07343, allocations: 4 kB / 336.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.07344, allocations: 0 / 336.6 MB, free: 1.996 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.001566/0.075, allocations: 1.403 MB / 338 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.07504, allocations: 15.98 kB / 338.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.07531, allocations: 111.5 kB / 338.2 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.07564, allocations: 315.1 kB / 338.5 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.07566, allocations: 29 kB / 338.5 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.07572, allocations: 55.94 kB / 338.6 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.07644, allocations: 0.6473 MB / 339.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.07645, allocations: 0 / 339.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.07649, allocations: 24 kB / 339.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.0765, allocations: 12 kB / 339.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.0771, allocations: 365.6 kB / 339.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005902/0.08301, allocations: 3.499 MB / 343.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.08364, allocations: 313.6 kB / 343.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.08381, allocations: 129.1 kB / 343.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00494/0.08875, allocations: 2.605 MB / 346.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.08878, allocations: 45.83 kB / 346.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.693e-06/0.08879, allocations: 0 / 346.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.002784/0.09157, allocations: 1.346 MB / 347.5 MB, free: 6.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.0916, allocations: 63.91 kB / 347.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.09178, allocations: 300.2 kB / 347.9 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.09182, allocations: 33.7 kB / 347.9 MB, free: 6.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.09192, allocations: 248.1 kB / 348.2 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.921e-05/0.09202, allocations: 206.2 kB / 348.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.09214, allocations: 123.9 kB / 348.5 MB, free: 5.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.09226, allocations: 0.5118 MB / 349 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.09244, allocations: 109.2 kB / 349.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.09276, allocations: 235.5 kB / 349.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.09333, allocations: 378.4 kB / 349.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.09333, allocations: 0 / 349.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000961/0.09429, allocations: 0.5466 MB / 350.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.09431, allocations: 8 kB / 350.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.09431, allocations: 0 / 350.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/0.09457, allocations: 90.94 kB / 350.3 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.09484, allocations: 119.9 kB / 350.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09973/0.1946, allocations: 4.38 MB / 354.8 MB, free: 76.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.1948, allocations: 11.5 kB / 354.9 MB, free: 76.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.1949, allocations: 33.45 kB / 354.9 MB, free: 76.48 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.0001725/0.1951, allocations: 186.6 kB / 355.1 MB, free: 76.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.1953, allocations: 104.1 kB / 355.2 MB, free: 76.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1964, allocations: 0.6294 MB / 355.8 MB, free: 76.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1964, allocations: 6.656 kB / 355.8 MB, free: 76.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1964, allocations: 1.312 kB / 355.8 MB, free: 76.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005451/0.1969, allocations: 0.5699 MB / 356.4 MB, free: 75.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.198, allocations: 0.9307 MB / 357.3 MB, free: 75.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.198, allocations: 4.625 kB / 357.3 MB, free: 75.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1982, allocations: 98.45 kB / 357.4 MB, free: 75.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.1987, allocations: 142.3 kB / 357.5 MB, free: 75.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1987, allocations: 17.78 kB / 357.6 MB, free: 75.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001725/0.1989, allocations: 0.9174 MB / 358.5 MB, free: 74.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1989, allocations: 3.406 kB / 358.5 MB, free: 74.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.1998, allocations: 0.6863 MB / 359.2 MB, free: 74.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.1998, allocations: 31.06 kB / 359.2 MB, free: 74.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.1998, allocations: 14.41 kB / 359.2 MB, free: 74.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.2, allocations: 17.14 kB / 359.2 MB, free: 74.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.2001, allocations: 43.81 kB / 359.3 MB, free: 74.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.2001, allocations: 32.12 kB / 359.3 MB, free: 74.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2002, allocations: 220.3 kB / 359.5 MB, free: 74.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2002, allocations: 0 / 359.5 MB, free: 74.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002357/0.2026, allocations: 1.321 MB / 360.8 MB, free: 74.24 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.00388/0.2065, allocations: 1.873 MB / 362.7 MB, free: 74.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009256/0.2074, allocations: 0.6993 MB / 363.4 MB, free: 73.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2074, allocations: 3.219 kB / 363.4 MB, free: 73.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.2077, allocations: 197.1 kB / 363.6 MB, free: 73.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.2086, allocations: 239.5 kB / 363.8 MB, free: 73.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.2101, allocations: 0.9105 MB / 364.8 MB, free: 73.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.649e-05/0.2102, allocations: 131 kB / 364.9 MB, free: 73.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.2105, allocations: 120 kB / 365 MB, free: 73.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.2106, allocations: 56.27 kB / 365.1 MB, free: 73.21 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2106, allocations: 4 kB / 365.1 MB, free: 73.2 MB / 330.7 MB Notification: Performance of Templates: time 0.0416/0.2522, allocations: 46.53 MB / 411.6 MB, free: 35.75 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.15943479212001]