Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 114.5 kB / 21.18 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 206.1 kB / 24.48 MB, free: 4.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2053, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07377/0.279, allocations: 66.37 MB / 498.4 MB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.2861, allocations: 5.5 MB / 0.4921 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.2863, allocations: 8 kB / 0.4921 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.2872, allocations: 365.9 kB / 0.4925 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008405/0.2881, allocations: 0.5127 MB / 0.493 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.3052, allocations: 7.487 MB / 0.5003 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.307, allocations: 1.555 MB / 0.5018 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.3073, allocations: 148.9 kB / 0.502 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008267/0.3081, allocations: 0.6347 MB / 0.5026 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.309, allocations: 0.6034 MB / 0.5032 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3091, allocations: 84 kB / 0.5032 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.3269, allocations: 10.4 MB / 0.5134 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.3273, allocations: 335.1 kB / 0.5137 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.3279, allocations: 430.5 kB / 0.5141 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009688/0.3375, allocations: 5.974 MB / 0.52 GB, free: 2.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3375, allocations: 4 kB / 0.52 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3375, allocations: 0 / 0.52 GB, free: 2.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3376, allocations: 0 / 0.52 GB, free: 2.684 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.003579/0.3411, allocations: 1.616 MB / 0.5215 GB, free: 1.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3412, allocations: 8.031 kB / 0.5216 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.3416, allocations: 87.56 kB / 0.5216 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.3423, allocations: 452.9 kB / 0.5221 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.3424, allocations: 49.31 kB / 0.5221 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3425, allocations: 63.95 kB / 0.5222 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.3443, allocations: 0.8108 MB / 0.523 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.3444, allocations: 4 kB / 0.523 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.3444, allocations: 24 kB / 0.523 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3445, allocations: 16 kB / 0.523 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.3465, allocations: 1.02 MB / 0.524 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1877/0.5342, allocations: 12.78 MB / 0.5365 GB, free: 107.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.5363, allocations: 0.709 MB / 0.5372 GB, free: 107.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.5368, allocations: 385.8 kB / 0.5376 GB, free: 107 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.549, allocations: 12.24 MB / 0.5495 GB, free: 94.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.549, allocations: 48.66 kB / 0.5495 GB, free: 94.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.925e-06/0.549, allocations: 1.125 kB / 0.5495 GB, free: 94.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.008666/0.5577, allocations: 3.374 MB / 0.5528 GB, free: 93.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.5577, allocations: 67.84 kB / 0.5529 GB, free: 93.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.558, allocations: 354.6 kB / 0.5532 GB, free: 93.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.5581, allocations: 45.67 kB / 0.5533 GB, free: 93.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.5582, allocations: 238.5 kB / 0.5535 GB, free: 92.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.5583, allocations: 320.7 kB / 0.5538 GB, free: 92.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.5585, allocations: 171.9 kB / 0.554 GB, free: 92.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.5586, allocations: 360.5 kB / 0.5543 GB, free: 92.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.559, allocations: 374.5 kB / 0.5547 GB, free: 92.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000789/0.5598, allocations: 497.1 kB / 0.5552 GB, free: 91.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.5613, allocations: 0.9033 MB / 0.556 GB, free: 91.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5613, allocations: 0 / 0.556 GB, free: 91.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002233/0.5635, allocations: 1.115 MB / 0.5571 GB, free: 90.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5635, allocations: 3.938 kB / 0.5571 GB, free: 90.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5635, allocations: 3.969 kB / 0.5571 GB, free: 90.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.5643, allocations: 162.5 kB / 0.5573 GB, free: 90.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.565, allocations: 193.5 kB / 0.5575 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.5667, allocations: 4.128 MB / 0.5615 GB, free: 86.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.5671, allocations: 23.91 kB / 0.5615 GB, free: 86.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.5672, allocations: 43.02 kB / 0.5616 GB, free: 86.55 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.0002387/0.5674, allocations: 227.2 kB / 0.5618 GB, free: 86.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.5678, allocations: 61.45 kB / 0.5618 GB, free: 86.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.5698, allocations: 1.27 MB / 0.5631 GB, free: 85.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001464/0.5713, allocations: 1.325 MB / 0.5644 GB, free: 84.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5713, allocations: 0 / 0.5644 GB, free: 84.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.5714, allocations: 134.5 kB / 0.5645 GB, free: 84.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.5715, allocations: 19.5 kB / 0.5645 GB, free: 84.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.572, allocations: 30.69 kB / 0.5646 GB, free: 84.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.572, allocations: 56.75 kB / 0.5646 GB, free: 84.36 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001903/0.5739, allocations: 1.015 MB / 0.5656 GB, free: 83.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002053/0.576, allocations: 1.409 MB / 0.567 GB, free: 82.47 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005737/0.5766, allocations: 367.8 kB / 0.5673 GB, free: 82.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.5768, allocations: 287 kB / 0.5676 GB, free: 81.83 MB / 446.1 MB Notification: Performance of Backend: time 4.11e-07/0.5768, allocations: 0 / 0.5676 GB, free: 81.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006533/0.5833, allocations: 2.729 MB / 0.5703 GB, free: 79.41 MB / 446.1 MB Notification: Performance of SimCode: time 0.002093/0.5854, allocations: 1.935 MB / 0.5722 GB, free: 77.48 MB / 446.1 MB Notification: Performance of Templates: time 0.05236/0.6378, allocations: 53.68 MB / 0.6246 GB, free: 23.88 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.045275529846549]