Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.00197/0.00197, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.002335/0.002335, allocations: 164.9 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 177.2 MB / 204.9 MB, free: 9.062 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 50.81 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09097, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07125/0.1622, allocations: 58.99 MB / 437.9 MB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006941/0.1692, allocations: 4.963 MB / 442.9 MB, free: 15.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.1694, allocations: 15.94 kB / 442.9 MB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.1703, allocations: 338 kB / 443.2 MB, free: 15.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008859/0.1712, allocations: 0.5167 MB / 443.7 MB, free: 14.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01832/0.1895, allocations: 7.455 MB / 451.2 MB, free: 7.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.1916, allocations: 1.563 MB / 452.7 MB, free: 5.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.1919, allocations: 153.3 kB / 452.9 MB, free: 5.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009406/0.1929, allocations: 0.6347 MB / 453.5 MB, free: 4.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008879/0.1938, allocations: 0.5721 MB / 454.1 MB, free: 4.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.1939, allocations: 84 kB / 454.2 MB, free: 4.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/0.2121, allocations: 9.548 MB / 463.7 MB, free: 10.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.2125, allocations: 335.1 kB / 464.1 MB, free: 10.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005617/0.2131, allocations: 378.8 kB / 464.4 MB, free: 9.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.224, allocations: 5.884 MB / 470.3 MB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.224, allocations: 0 / 470.3 MB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.224, allocations: 0 / 470.3 MB, free: 4.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.224, allocations: 0 / 470.3 MB, free: 4.023 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003399/0.2274, allocations: 1.525 MB / 471.8 MB, free: 2.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2274, allocations: 12.03 kB / 471.8 MB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/0.2279, allocations: 87.56 kB / 471.9 MB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/0.2285, allocations: 391.5 kB / 472.3 MB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.2286, allocations: 49.31 kB / 472.4 MB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2287, allocations: 71.94 kB / 472.4 MB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.2308, allocations: 1.216 MB / 473.7 MB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.2308, allocations: 0 / 473.7 MB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.2309, allocations: 28 kB / 473.7 MB, free: 492 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.2309, allocations: 16 kB / 473.7 MB, free: 476 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.192/0.4229, allocations: 1.013 MB / 474.7 MB, free: 88.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.4376, allocations: 4.042 MB / 478.7 MB, free: 88.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.4393, allocations: 0.7019 MB / 479.5 MB, free: 88.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.4398, allocations: 386.2 kB / 479.8 MB, free: 88.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.4499, allocations: 2.614 MB / 482.4 MB, free: 87.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.45, allocations: 48.66 kB / 482.5 MB, free: 87.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.575e-06/0.45, allocations: 0 / 482.5 MB, free: 87.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.008866/0.4588, allocations: 3.153 MB / 485.6 MB, free: 86.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.4589, allocations: 60.66 kB / 485.7 MB, free: 86.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.4591, allocations: 304.4 kB / 486 MB, free: 86.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/0.4592, allocations: 42.3 kB / 486 MB, free: 86.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.4593, allocations: 248.3 kB / 486.3 MB, free: 86.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.4594, allocations: 322.3 kB / 486.6 MB, free: 85.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.4597, allocations: 166.6 kB / 486.8 MB, free: 85.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.4597, allocations: 362.4 kB / 487.1 MB, free: 85.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.4602, allocations: 372.7 kB / 487.5 MB, free: 85.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.461, allocations: 487.1 kB / 488 MB, free: 84.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.4625, allocations: 0.902 MB / 488.9 MB, free: 84.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4625, allocations: 7.781 kB / 488.9 MB, free: 84.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002236/0.4648, allocations: 1.102 MB / 490 MB, free: 83.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4648, allocations: 7.938 kB / 490 MB, free: 83.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4648, allocations: 3.969 kB / 490 MB, free: 83.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.4655, allocations: 174.3 kB / 490.1 MB, free: 83.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.4662, allocations: 189 kB / 490.3 MB, free: 83.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.468, allocations: 3.861 MB / 494.2 MB, free: 79.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.4683, allocations: 26.75 kB / 494.2 MB, free: 79.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.4684, allocations: 47.69 kB / 494.3 MB, free: 79.81 MB / 430.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0002589/0.4687, allocations: 226.8 kB / 494.5 MB, free: 79.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/0.4691, allocations: 56.41 kB / 494.5 MB, free: 79.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.4711, allocations: 1.28 MB / 495.8 MB, free: 78.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4711, allocations: 9.531 kB / 495.8 MB, free: 78.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.4711, allocations: 0 / 495.8 MB, free: 78.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/0.4726, allocations: 1.321 MB / 497.2 MB, free: 77.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.475, allocations: 1.725 MB / 498.9 MB, free: 76.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.475, allocations: 4 kB / 498.9 MB, free: 76.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.4757, allocations: 163.8 kB / 499 MB, free: 75.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.4773, allocations: 302.3 kB / 499.3 MB, free: 75.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.4774, allocations: 32.97 kB / 499.4 MB, free: 75.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004406/0.4778, allocations: 1.285 MB / 0.4889 GB, free: 74.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4778, allocations: 0 / 0.4889 GB, free: 74.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.4799, allocations: 1.41 MB / 0.4903 GB, free: 72.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.48, allocations: 56.03 kB / 0.4904 GB, free: 72.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.48, allocations: 27.98 kB / 0.4904 GB, free: 72.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.4805, allocations: 29.06 kB / 0.4904 GB, free: 72.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.4806, allocations: 52.89 kB / 0.4905 GB, free: 72.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.4807, allocations: 45.75 kB / 0.4905 GB, free: 72.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.4809, allocations: 244.7 kB / 0.4907 GB, free: 72.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4809, allocations: 0 / 0.4907 GB, free: 72.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002888/0.4838, allocations: 1.421 MB / 0.4921 GB, free: 71.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004541/0.4883, allocations: 1.738 MB / 0.4938 GB, free: 69.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.49, allocations: 1.101 MB / 0.4949 GB, free: 68.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.49, allocations: 0 / 0.4949 GB, free: 68.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.4907, allocations: 487.8 kB / 0.4954 GB, free: 67.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.4922, allocations: 338.6 kB / 0.4957 GB, free: 67.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.4944, allocations: 1.656 MB / 0.4973 GB, free: 65.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.4946, allocations: 320.8 kB / 0.4976 GB, free: 65.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.4952, allocations: 197.5 kB / 0.4978 GB, free: 65.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.4954, allocations: 80.47 kB / 0.4979 GB, free: 65.26 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4954, allocations: 0 / 0.4979 GB, free: 65.26 MB / 430.1 MB Notification: Performance of Templates: time 0.05237/0.5478, allocations: 49.31 MB / 0.546 GB, free: 16.2 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.910458313068375]