Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 81.73 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 147.4 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.043e-05, allocations: 2.281 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05713/0.05715, allocations: 45.3 MB / 364.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.06383, allocations: 4.697 MB / 368.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.06408, allocations: 8 kB / 368.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008058/0.06488, allocations: 238.4 kB / 369.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.06558, allocations: 389.5 kB / 369.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01975/0.08533, allocations: 7.18 MB / 376.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.08685, allocations: 1.099 MB / 377.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.08711, allocations: 101.9 kB / 377.9 MB, free: 496 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007824/0.09493, allocations: 3.771 MB / 381.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.09559, allocations: 371 kB / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.09571, allocations: 60 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01856/0.1143, allocations: 9.321 MB / 391.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.1147, allocations: 239.4 kB / 391.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.1152, allocations: 243.5 kB / 391.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.1299, allocations: 6.673 MB / 398.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1299, allocations: 0 / 398.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1299, allocations: 0 / 398.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1299, allocations: 0 / 398.6 MB, free: 11.79 MB / 366.1 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.003336/0.1333, allocations: 1.319 MB / 399.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1333, allocations: 8.031 kB / 399.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.1337, allocations: 59.7 kB / 400 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.1342, allocations: 316.2 kB / 400.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.1342, allocations: 33 kB / 400.3 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-05/0.1343, allocations: 44 kB / 400.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.1359, allocations: 0.8971 MB / 401.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1359, allocations: 0 / 401.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.136, allocations: 16 kB / 401.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.136, allocations: 12 kB / 401.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1375, allocations: 0.7456 MB / 402 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.1506, allocations: 3.581 MB / 405.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1519, allocations: 0.5125 MB / 406.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.1523, allocations: 242.2 kB / 406.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.1633, allocations: 2.569 MB / 408.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.1634, allocations: 39.06 kB / 409 MB, free: 1.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.435e-06/0.1634, allocations: 0 / 409 MB, free: 1.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.006038/0.1694, allocations: 1.889 MB / 410.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.1695, allocations: 59.75 kB / 410.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1698, allocations: 273.6 kB / 411.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.1698, allocations: 37.7 kB / 411.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.17, allocations: 209.3 kB / 411.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.1702, allocations: 202.2 kB / 411.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.1704, allocations: 114.3 kB / 411.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1706, allocations: 346.8 kB / 412.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.171, allocations: 237.2 kB / 412.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007047/0.1717, allocations: 352.2 kB / 412.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.173, allocations: 0.6007 MB / 413.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.173, allocations: 4 kB / 413.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001996/0.175, allocations: 0.7417 MB / 414 MB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.175, allocations: 8 kB / 414 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.175, allocations: 0 / 414 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.1755, allocations: 110.8 kB / 414.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.1761, allocations: 131.8 kB / 414.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.1789, allocations: 3.22 MB / 417.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.1792, allocations: 12 kB / 417.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.1793, allocations: 39.91 kB / 417.5 MB, free: 8.266 MB / 382.1 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.0002963/0.1796, allocations: 181.8 kB / 417.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.1799, allocations: 39.81 kB / 417.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.1816, allocations: 0.8166 MB / 418.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1816, allocations: 8.094 kB / 418.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1816, allocations: 4 kB / 418.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/0.1829, allocations: 0.765 MB / 419.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.185, allocations: 1.119 MB / 420.4 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.185, allocations: 0 / 420.4 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.1855, allocations: 103.8 kB / 420.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.1865, allocations: 152.7 kB / 420.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.1866, allocations: 15.98 kB / 420.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005432/0.1871, allocations: 0.6445 MB / 421.4 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1871, allocations: 7.875 kB / 421.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.1889, allocations: 0.9033 MB / 422.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.189, allocations: 39.94 kB / 422.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.1891, allocations: 16 kB / 422.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.1895, allocations: 19.98 kB / 422.3 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.1896, allocations: 40.38 kB / 422.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.1896, allocations: 27.97 kB / 422.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.1899, allocations: 217.2 kB / 422.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1899, allocations: 0 / 422.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00369/0.1936, allocations: 1.321 MB / 423.9 MB, free: 1.629 MB / 382.1 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.005814/0.1994, allocations: 1.875 MB / 425.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.2011, allocations: 0.7817 MB / 426.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.2011, allocations: 0 / 426.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.2017, allocations: 279.5 kB / 426.9 MB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.203, allocations: 233.4 kB / 427.1 MB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.205, allocations: 1.003 MB / 428.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2052, allocations: 229.4 kB / 428.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004765/0.2057, allocations: 139.2 kB / 428.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.2059, allocations: 56.47 kB / 428.5 MB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 1.293e-06/0.2059, allocations: 0 / 428.5 MB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.06741/0.2733, allocations: 44.14 MB / 472.6 MB, free: 0.9727 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.444587741047144]