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.001539/0.001539, allocations: 112.5 kB / 21.19 MB, free: 0.7773 MB / 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.001683/0.001683, allocations: 206.3 kB / 24.49 MB, free: 4.164 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.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.001547/0.001547, allocations: 51.92 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2339, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07501/0.3089, allocations: 66.39 MB / 498.8 MB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.3162, allocations: 5.504 MB / 0.4925 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.3167, allocations: 7.938 kB / 0.4925 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3178, allocations: 361.9 kB / 0.4928 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.3189, allocations: 0.5205 MB / 0.4933 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01826/0.3372, allocations: 7.543 MB / 0.5007 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.3393, allocations: 1.571 MB / 0.5022 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.3396, allocations: 153.4 kB / 0.5024 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.3407, allocations: 0.6308 MB / 0.503 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3418, allocations: 0.5995 MB / 0.5036 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.3419, allocations: 84 kB / 0.5037 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/0.361, allocations: 10.48 MB / 0.5139 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005538/0.3616, allocations: 339.1 kB / 0.5142 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007953/0.3624, allocations: 434.5 kB / 0.5146 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.3756, allocations: 5.974 MB / 0.5205 GB, free: 2.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3756, allocations: 3.938 kB / 0.5205 GB, free: 2.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3756, allocations: 4 kB / 0.5205 GB, free: 2.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.205e-05/0.3756, allocations: 0 / 0.5205 GB, free: 2.047 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.003929/0.3795, allocations: 1.541 MB / 0.522 GB, free: 480 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3796, allocations: 8.031 kB / 0.522 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.38, allocations: 87.56 kB / 0.5221 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.3808, allocations: 383.2 kB / 0.5224 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.3808, allocations: 49.31 kB / 0.5225 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3809, allocations: 67.94 kB / 0.5225 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.3827, allocations: 0.8108 MB / 0.5233 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.3827, allocations: 4 kB / 0.5233 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.3828, allocations: 28 kB / 0.5234 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3828, allocations: 15.98 kB / 0.5234 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.3847, allocations: 1.043 MB / 0.5244 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.399, allocations: 4.969 MB / 0.5293 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.4008, allocations: 0.7103 MB / 0.5299 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.4014, allocations: 390.3 kB / 0.5303 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.4121, allocations: 2.612 MB / 0.5329 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.4121, allocations: 39.22 kB / 0.5329 GB, free: 5.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.234e-06/0.4121, allocations: 0 / 0.5329 GB, free: 5.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009821/0.422, allocations: 3.161 MB / 0.536 GB, free: 1.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.422, allocations: 64.34 kB / 0.5361 GB, free: 1.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.4224, allocations: 352.5 kB / 0.5364 GB, free: 1.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.4225, allocations: 49.7 kB / 0.5364 GB, free: 1.336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.4227, allocations: 233.2 kB / 0.5367 GB, free: 1.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.423, allocations: 329.2 kB / 0.537 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.4232, allocations: 162.6 kB / 0.5371 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4234, allocations: 366.8 kB / 0.5375 GB, free: 256 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1905/0.6139, allocations: 370 kB / 0.5378 GB, free: 106.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6152, allocations: 489 kB / 0.5383 GB, free: 106.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.6169, allocations: 0.9135 MB / 0.5392 GB, free: 105.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.6169, allocations: 1.719 kB / 0.5392 GB, free: 105.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002424/0.6194, allocations: 1.112 MB / 0.5403 GB, free: 105.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6194, allocations: 6.125 kB / 0.5403 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6194, allocations: 3.312 kB / 0.5403 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007862/0.6202, allocations: 165.5 kB / 0.5404 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.6209, allocations: 192.5 kB / 0.5406 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.6228, allocations: 3.907 MB / 0.5444 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.6232, allocations: 25.47 kB / 0.5445 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.6233, allocations: 45.59 kB / 0.5445 GB, free: 101.6 MB / 446.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.0003024/0.6236, allocations: 221.6 kB / 0.5447 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.6239, allocations: 64.23 kB / 0.5448 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.6261, allocations: 1.277 MB / 0.546 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6261, allocations: 10.59 kB / 0.546 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6261, allocations: 0 / 0.546 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/0.6277, allocations: 1.323 MB / 0.5473 GB, free: 99.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.6304, allocations: 1.933 MB / 0.5492 GB, free: 98.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6304, allocations: 6.375 kB / 0.5492 GB, free: 98.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.631, allocations: 164.4 kB / 0.5494 GB, free: 98.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.6326, allocations: 304.3 kB / 0.5497 GB, free: 98.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.6326, allocations: 27.39 kB / 0.5497 GB, free: 98.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004539/0.6331, allocations: 1.293 MB / 0.551 GB, free: 97.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6331, allocations: 3.781 kB / 0.551 GB, free: 97.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.6351, allocations: 1.426 MB / 0.5524 GB, free: 97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6352, allocations: 43.48 kB / 0.5524 GB, free: 96.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.6353, allocations: 27.89 kB / 0.5524 GB, free: 96.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.6357, allocations: 27.67 kB / 0.5525 GB, free: 96.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.6358, allocations: 58.91 kB / 0.5525 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.6359, allocations: 46.94 kB / 0.5526 GB, free: 96.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.6361, allocations: 280.3 kB / 0.5528 GB, free: 96.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6361, allocations: 0 / 0.5528 GB, free: 96.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003057/0.6392, allocations: 1.426 MB / 0.5542 GB, free: 96.69 MB / 446.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.004326/0.6435, allocations: 1.729 MB / 0.5559 GB, free: 96.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.6452, allocations: 1.11 MB / 0.557 GB, free: 95.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6452, allocations: 3.719 kB / 0.557 GB, free: 95.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.6459, allocations: 482.9 kB / 0.5574 GB, free: 95.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6475, allocations: 387 kB / 0.5578 GB, free: 95.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.6497, allocations: 1.73 MB / 0.5595 GB, free: 93.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.65, allocations: 0.9148 MB / 0.5604 GB, free: 92.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.6502, allocations: 91.41 kB / 0.5605 GB, free: 92.67 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6502, allocations: 3.938 kB / 0.5605 GB, free: 92.66 MB / 446.1 MB Notification: Performance of Templates: time 0.03954/0.6898, allocations: 41.21 MB / 0.6007 GB, free: 51.45 MB / 446.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 -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: 19.493522045901045]