Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.000893/0.000893, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001245/0.001245, allocations: 161 kB / 25.45 MB, free: 9.348 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.7937/0.7937, allocations: 158.6 MB / 187.2 MB, free: 3.035 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.867e-05, allocations: 6.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02043/0.02045, allocations: 33.74 MB / 333.5 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.02376, allocations: 4.155 MB / 337.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.02393, allocations: 11.94 kB / 337.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.02452, allocations: 282.1 kB / 337.9 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.02509, allocations: 0.5007 MB / 338.4 MB, free: 68 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.02798, allocations: 1.671 MB / 340.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008516/0.02884, allocations: 1.295 MB / 341.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.02902, allocations: 127 kB / 341.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.02951, allocations: 0.6313 MB / 342.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.02983, allocations: 374.8 kB / 342.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.02988, allocations: 44 kB / 342.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.03072, allocations: 0.7412 MB / 343.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.03082, allocations: 139.5 kB / 343.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.03096, allocations: 211.6 kB / 343.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.03202, allocations: 1.169 MB / 344.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.03202, allocations: 0 / 344.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03202, allocations: 4 kB / 344.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.03203, allocations: 3.938 kB / 344.8 MB, free: 9.652 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007214/0.03275, allocations: 0.7152 MB / 345.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.03279, allocations: 11.98 kB / 345.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.03309, allocations: 76.62 kB / 345.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.03343, allocations: 277 kB / 345.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.03345, allocations: 33.38 kB / 345.9 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.0335, allocations: 44.31 kB / 345.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.03397, allocations: 0.6618 MB / 346.6 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.03398, allocations: 8.125 kB / 346.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.03401, allocations: 20.12 kB / 346.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.03402, allocations: 12 kB / 346.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.03432, allocations: 303.7 kB / 346.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.03996, allocations: 4.55 MB / 351.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.04027, allocations: 254.5 kB / 351.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.04041, allocations: 148.7 kB / 351.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1245/0.1649, allocations: 2.668 MB / 354.6 MB, free: 65.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1649, allocations: 38.61 kB / 354.6 MB, free: 65.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.1649, allocations: 0.5312 kB / 354.6 MB, free: 65.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.006164/0.1711, allocations: 2.302 MB / 356.9 MB, free: 65.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1712, allocations: 60.47 kB / 357 MB, free: 64.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1714, allocations: 281.6 kB / 357.2 MB, free: 64.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1714, allocations: 31.92 kB / 357.3 MB, free: 64.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.1715, allocations: 231.4 kB / 357.5 MB, free: 64.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.1716, allocations: 170 kB / 357.7 MB, free: 64.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.1717, allocations: 96.81 kB / 357.8 MB, free: 64.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.1717, allocations: 349.2 kB / 358.1 MB, free: 64.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1719, allocations: 155.8 kB / 358.2 MB, free: 64.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1721, allocations: 273.8 kB / 358.5 MB, free: 63.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.1726, allocations: 476.1 kB / 359 MB, free: 63.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1726, allocations: 2.094 kB / 359 MB, free: 63.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006704/0.1732, allocations: 0.5947 MB / 359.6 MB, free: 63.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1732, allocations: 11.41 kB / 359.6 MB, free: 63.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1733, allocations: 3.406 kB / 359.6 MB, free: 63.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003976/0.1772, allocations: 1.845 MB / 361.4 MB, free: 63.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1775, allocations: 112.3 kB / 361.5 MB, free: 63.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009261/0.1784, allocations: 2.429 MB / 364 MB, free: 60.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1785, allocations: 13.88 kB / 364 MB, free: 60.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.1786, allocations: 22.09 kB / 364 MB, free: 60.73 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.1787, allocations: 179.5 kB / 364.2 MB, free: 60.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.1788, allocations: 42.55 kB / 364.2 MB, free: 60.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/0.1795, allocations: 0.8712 MB / 365.1 MB, free: 60.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1795, allocations: 11.52 kB / 365.1 MB, free: 60.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1795, allocations: 3.75 kB / 365.1 MB, free: 60.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005962/0.1801, allocations: 0.9739 MB / 366.1 MB, free: 59.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1812, allocations: 1.362 MB / 367.4 MB, free: 58.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1812, allocations: 3.75 kB / 367.4 MB, free: 58.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.1814, allocations: 77.47 kB / 367.5 MB, free: 58.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.1828, allocations: 0.618 MB / 368.1 MB, free: 58.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1828, allocations: 20.48 kB / 368.2 MB, free: 58.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003657/0.1832, allocations: 1.294 MB / 369.5 MB, free: 57.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1832, allocations: 0 / 369.5 MB, free: 57.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.1841, allocations: 1.249 MB / 370.7 MB, free: 56.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.1841, allocations: 47.34 kB / 370.8 MB, free: 56.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1841, allocations: 7.844 kB / 370.8 MB, free: 56.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1843, allocations: 11.97 kB / 370.8 MB, free: 56.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1843, allocations: 31.42 kB / 370.8 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1843, allocations: 23.7 kB / 370.8 MB, free: 56.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.779e-05/0.1844, allocations: 184.7 kB / 371 MB, free: 56.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1844, allocations: 0 / 371 MB, free: 56.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.1849, allocations: 230.9 kB / 371.2 MB, free: 56.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004045/0.1853, allocations: 302.2 kB / 371.5 MB, free: 56.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006386/0.1859, allocations: 0.6785 MB / 372.2 MB, free: 55.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1859, allocations: 3.984 kB / 372.2 MB, free: 55.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.1863, allocations: 423.2 kB / 372.6 MB, free: 55.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.1869, allocations: 203.5 kB / 372.8 MB, free: 55.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.1878, allocations: 1.163 MB / 374 MB, free: 53.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.1879, allocations: 237.1 kB / 374.2 MB, free: 53.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.188, allocations: 40.5 kB / 374.3 MB, free: 53.59 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.188, allocations: 0 / 374.3 MB, free: 53.59 MB / 330.7 MB Notification: Performance of Templates: time 0.007316/0.1953, allocations: 13 MB / 387.3 MB, free: 40.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 6.0542176542803645]