Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001326/0.001326, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001422/0.001422, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 62.03 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.08922, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06955/0.1588, allocations: 58.99 MB / 437.9 MB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.1657, allocations: 4.971 MB / 442.9 MB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.166, allocations: 7.938 kB / 442.9 MB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009603/0.1669, allocations: 330 kB / 443.2 MB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.1679, allocations: 0.5128 MB / 443.7 MB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01772/0.1856, allocations: 7.463 MB / 451.2 MB, free: 6.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.1877, allocations: 1.567 MB / 452.8 MB, free: 5.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.188, allocations: 141.4 kB / 452.9 MB, free: 5.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.1891, allocations: 0.6464 MB / 453.5 MB, free: 4.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008607/0.1899, allocations: 0.5682 MB / 454.1 MB, free: 4.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1901, allocations: 84 kB / 454.2 MB, free: 3.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/0.2077, allocations: 9.552 MB / 463.7 MB, free: 10.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.2081, allocations: 335.1 kB / 464.1 MB, free: 10.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005896/0.2087, allocations: 374.8 kB / 464.4 MB, free: 9.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.2203, allocations: 5.888 MB / 470.3 MB, free: 3.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2203, allocations: 0 / 470.3 MB, free: 3.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2203, allocations: 0 / 470.3 MB, free: 3.789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.2204, allocations: 0 / 470.3 MB, free: 3.789 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.00359/0.224, allocations: 1.529 MB / 471.9 MB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.224, allocations: 15.97 kB / 471.9 MB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.2244, allocations: 83.58 kB / 472 MB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.2251, allocations: 391.6 kB / 472.3 MB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.2251, allocations: 45.31 kB / 472.4 MB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.2253, allocations: 67.95 kB / 472.4 MB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.2273, allocations: 1.212 MB / 473.7 MB, free: 296 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.2273, allocations: 4 kB / 473.7 MB, free: 292 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.2273, allocations: 24 kB / 473.7 MB, free: 268 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.2274, allocations: 16 kB / 473.7 MB, free: 252 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1745/0.4019, allocations: 1.013 MB / 474.7 MB, free: 89.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.415, allocations: 4.047 MB / 478.8 MB, free: 88.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.4169, allocations: 0.7107 MB / 479.5 MB, free: 88.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.4174, allocations: 380.7 kB / 479.8 MB, free: 88.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.4278, allocations: 2.615 MB / 482.5 MB, free: 87.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.4278, allocations: 45.81 kB / 482.5 MB, free: 87.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/0.4278, allocations: 0 / 482.5 MB, free: 87.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.009254/0.4371, allocations: 3.157 MB / 485.7 MB, free: 86.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.4371, allocations: 60.5 kB / 485.7 MB, free: 86.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.4374, allocations: 307.2 kB / 486 MB, free: 86.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.4375, allocations: 42.73 kB / 486.1 MB, free: 86.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4376, allocations: 243.1 kB / 486.3 MB, free: 85.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.4378, allocations: 324.9 kB / 486.6 MB, free: 85.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.438, allocations: 160.8 kB / 486.8 MB, free: 85.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.4381, allocations: 359.2 kB / 487.1 MB, free: 85.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.4386, allocations: 372 kB / 487.5 MB, free: 85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/0.4394, allocations: 491.8 kB / 488 MB, free: 84.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.4408, allocations: 0.9022 MB / 488.9 MB, free: 84.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4408, allocations: 4.969 kB / 488.9 MB, free: 84.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002236/0.443, allocations: 1.113 MB / 490 MB, free: 83.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.4431, allocations: 7.906 kB / 490 MB, free: 83.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4431, allocations: 3.938 kB / 490 MB, free: 83.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/0.4438, allocations: 162.1 kB / 490.2 MB, free: 83.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.4445, allocations: 195.8 kB / 490.4 MB, free: 83.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.4463, allocations: 3.865 MB / 494.2 MB, free: 79.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.4467, allocations: 19.59 kB / 494.2 MB, free: 79.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/0.4467, allocations: 46.91 kB / 494.3 MB, free: 79.61 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.0003041/0.447, allocations: 215.8 kB / 494.5 MB, free: 79.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.4474, allocations: 68.14 kB / 494.6 MB, free: 79.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.4494, allocations: 1.279 MB / 495.8 MB, free: 78.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4494, allocations: 14.64 kB / 495.9 MB, free: 78.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4494, allocations: 1.938 kB / 495.9 MB, free: 78.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001448/0.4508, allocations: 1.32 MB / 497.2 MB, free: 77.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.4533, allocations: 1.727 MB / 498.9 MB, free: 75.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4533, allocations: 0 / 498.9 MB, free: 75.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.4539, allocations: 163.8 kB / 499.1 MB, free: 75.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.4555, allocations: 297.3 kB / 499.4 MB, free: 75.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.4556, allocations: 35.97 kB / 499.4 MB, free: 75.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004615/0.456, allocations: 1.289 MB / 0.4889 GB, free: 73.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.456, allocations: 0 / 0.4889 GB, free: 73.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.4581, allocations: 1.415 MB / 0.4903 GB, free: 72.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.4582, allocations: 46.05 kB / 0.4904 GB, free: 72.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.4583, allocations: 20.06 kB / 0.4904 GB, free: 72.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.4588, allocations: 35.34 kB / 0.4904 GB, free: 72.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.4588, allocations: 64.89 kB / 0.4905 GB, free: 72.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.4589, allocations: 39.97 kB / 0.4905 GB, free: 72.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.4591, allocations: 243 kB / 0.4908 GB, free: 72.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4591, allocations: 0 / 0.4908 GB, free: 72.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002907/0.462, allocations: 1.427 MB / 0.4921 GB, free: 70.78 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.004222/0.4662, allocations: 1.73 MB / 0.4938 GB, free: 69.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.468, allocations: 1.113 MB / 0.4949 GB, free: 68.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.468, allocations: 0 / 0.4949 GB, free: 68.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.4687, allocations: 479.2 kB / 0.4954 GB, free: 67.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.4702, allocations: 335.2 kB / 0.4957 GB, free: 67.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.4723, allocations: 1.666 MB / 0.4973 GB, free: 65.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.4725, allocations: 309.8 kB / 0.4976 GB, free: 65.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000529/0.4731, allocations: 204.7 kB / 0.4978 GB, free: 65.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.4732, allocations: 80.47 kB / 0.4979 GB, free: 64.97 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4732, allocations: 0 / 0.4979 GB, free: 64.97 MB / 430.1 MB Notification: Performance of Templates: time 0.04978/0.523, allocations: 49.29 MB / 0.546 GB, free: 15.88 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.767730170977302]