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.0008651/0.0008651, allocations: 87.62 kB / 21.44 MB, free: 3.133 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.004262/0.004262, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8571/0.8571, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.512e-06/1.512e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.497e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04266/0.04269, allocations: 58.84 MB / 384.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00433/0.04702, allocations: 4.966 MB / 389.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.04728, allocations: 11.94 kB / 389.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007156/0.04799, allocations: 333.9 kB / 390 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.04863, allocations: 0.5433 MB / 390.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01322/0.06184, allocations: 7.535 MB / 398.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.06355, allocations: 1.562 MB / 399.6 MB, free: 5.383 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.06379, allocations: 141.5 kB / 399.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000965/0.06476, allocations: 0.8533 MB / 400.6 MB, free: 4.387 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/0.06532, allocations: 0.5259 MB / 401.1 MB, free: 3.859 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.794e-05/0.06542, allocations: 84 kB / 401.2 MB, free: 3.777 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/0.07752, allocations: 9.586 MB / 410.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.0778, allocations: 343.1 kB / 411.1 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.07808, allocations: 339.4 kB / 411.5 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.08878, allocations: 7.156 MB / 418.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.08879, allocations: 0 / 418.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.08879, allocations: 0 / 418.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.0888, allocations: 4 kB / 418.6 MB, free: 2.332 MB / 378.7 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.00246/0.09126, allocations: 1.525 MB / 420.2 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.0913, allocations: 12.03 kB / 420.2 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.09157, allocations: 83.61 kB / 420.3 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.09208, allocations: 387.6 kB / 420.6 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.09211, allocations: 45.31 kB / 420.7 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.09218, allocations: 60 kB / 420.7 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.09334, allocations: 1.22 MB / 422 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.09336, allocations: 7.938 kB / 422 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.09341, allocations: 36 kB / 422 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.09343, allocations: 16 kB / 422 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.09461, allocations: 1.012 MB / 423 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009346/0.104, allocations: 4.043 MB / 427.1 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.1054, allocations: 0.7165 MB / 427.8 MB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.1059, allocations: 378.7 kB / 428.2 MB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00676/0.1127, allocations: 2.612 MB / 430.8 MB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.1128, allocations: 47.22 kB / 430.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 3.978e-06/0.1128, allocations: 0 / 430.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.006924/0.1197, allocations: 3.144 MB / 434 MB, free: 2.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1197, allocations: 68.34 kB / 434 MB, free: 2.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.12, allocations: 301.8 kB / 434.3 MB, free: 2.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.1201, allocations: 45.7 kB / 434.4 MB, free: 2.305 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1202, allocations: 245.1 kB / 434.6 MB, free: 2.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.1205, allocations: 317.2 kB / 434.9 MB, free: 1.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.1207, allocations: 162.6 kB / 435.1 MB, free: 1.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1208, allocations: 358.8 kB / 435.4 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.1214, allocations: 365.8 kB / 435.8 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/0.1222, allocations: 496.2 kB / 436.3 MB, free: 356 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.1235, allocations: 0.906 MB / 437.2 MB, free: 15.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1235, allocations: 4 kB / 437.2 MB, free: 15.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00152/0.125, allocations: 1.11 MB / 438.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.125, allocations: 8 kB / 438.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.125, allocations: 7.938 kB / 438.3 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004335/0.1255, allocations: 159.3 kB / 438.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.1259, allocations: 199.6 kB / 438.7 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.1278, allocations: 3.857 MB / 442.5 MB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1281, allocations: 24.12 kB / 442.5 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.1281, allocations: 43.98 kB / 442.6 MB, free: 9.723 MB / 410.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 (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.0002418/0.1284, allocations: 225.6 kB / 442.8 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.1286, allocations: 59.67 kB / 442.9 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.13, allocations: 1.28 MB / 444.1 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.13, allocations: 8 kB / 444.1 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.13, allocations: 4 kB / 444.1 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.1313, allocations: 1.32 MB / 445.5 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.1332, allocations: 1.726 MB / 447.2 MB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1332, allocations: 4 kB / 447.2 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.1336, allocations: 159.8 kB / 447.4 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008266/0.1344, allocations: 305.3 kB / 447.6 MB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.1345, allocations: 27.98 kB / 447.7 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005016/0.135, allocations: 1.289 MB / 449 MB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.135, allocations: 3.938 kB / 449 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.1365, allocations: 1.414 MB / 450.4 MB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1366, allocations: 47.66 kB / 450.4 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.1367, allocations: 24.06 kB / 450.5 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.1369, allocations: 36.09 kB / 450.5 MB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.137, allocations: 53.03 kB / 450.5 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.137, allocations: 51.95 kB / 450.6 MB, free: 1.406 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.1372, allocations: 243 kB / 450.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 0 / 450.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1393/0.2765, allocations: 1.416 MB / 452.2 MB, free: 120 MB / 410.7 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.004178/0.2807, allocations: 1.902 MB / 454.1 MB, free: 119.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.282, allocations: 1.106 MB / 455.3 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.282, allocations: 4.75 kB / 455.3 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.2824, allocations: 482.6 kB / 455.7 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/0.2833, allocations: 328.1 kB / 456 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.2849, allocations: 1.557 MB / 457.6 MB, free: 118.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.285, allocations: 313.7 kB / 457.9 MB, free: 118.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.2852, allocations: 94.77 kB / 458 MB, free: 118.8 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2852, allocations: 0 / 458 MB, free: 118.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02501/0.3102, allocations: 41.17 MB / 499.2 MB, free: 80.13 MB / 410.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/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: 12.556496372446418]