Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001344/0.001344, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001377/0.001377, allocations: 165 kB / 24.5 MB, free: 3.453 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.416/1.416, allocations: 177.1 MB / 204.7 MB, free: 9.027 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 60.91 kB / 325.5 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.0951, allocations: 53.39 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05659/0.1517, allocations: 45.52 MB / 424.4 MB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00648/0.1582, allocations: 4.705 MB / 429.1 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.1583, allocations: 7.938 kB / 429.2 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.1591, allocations: 234.6 kB / 429.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.1597, allocations: 377.9 kB / 429.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0174/0.1771, allocations: 7.128 MB / 436.9 MB, free: 5.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.1785, allocations: 1.103 MB / 438 MB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1787, allocations: 94.44 kB / 438.1 MB, free: 4.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006897/0.1856, allocations: 3.618 MB / 441.7 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.1863, allocations: 406.5 kB / 442.1 MB, free: 152 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.1864, allocations: 60 kB / 442.2 MB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01716/0.2035, allocations: 9.318 MB / 451.5 MB, free: 6.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.2039, allocations: 235.4 kB / 451.7 MB, free: 6.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.2043, allocations: 267.1 kB / 452 MB, free: 6.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009688/0.214, allocations: 5.444 MB / 457.4 MB, free: 0.8086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.214, allocations: 0 / 457.4 MB, free: 0.8086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.214, allocations: 7.875 kB / 457.4 MB, free: 0.8008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.214, allocations: 7.984 kB / 457.4 MB, free: 0.793 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002855/0.2168, allocations: 1.316 MB / 458.7 MB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2169, allocations: 19.92 kB / 458.8 MB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.2172, allocations: 55.72 kB / 458.8 MB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.2178, allocations: 309 kB / 459.1 MB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.2178, allocations: 33 kB / 459.1 MB, free: 15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.2179, allocations: 40 kB / 459.2 MB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.2194, allocations: 0.8932 MB / 460.1 MB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2194, allocations: 0 / 460.1 MB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/0.2195, allocations: 27.94 kB / 460.1 MB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.2195, allocations: 8 kB / 460.1 MB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.2209, allocations: 0.7378 MB / 460.8 MB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.2335, allocations: 3.58 MB / 464.4 MB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.2347, allocations: 0.5178 MB / 464.9 MB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.2351, allocations: 242.2 kB / 465.2 MB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.2458, allocations: 2.549 MB / 467.7 MB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.2458, allocations: 39.06 kB / 467.8 MB, free: 6.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.294e-06/0.2458, allocations: 0 / 467.8 MB, free: 6.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006031/0.2519, allocations: 1.9 MB / 469.7 MB, free: 4.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2519, allocations: 55.91 kB / 469.7 MB, free: 4.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.2523, allocations: 273.6 kB / 470 MB, free: 3.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.2523, allocations: 37.7 kB / 470 MB, free: 3.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.2525, allocations: 213.2 kB / 470.2 MB, free: 3.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.2527, allocations: 198.2 kB / 470.4 MB, free: 3.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.2529, allocations: 114.3 kB / 470.5 MB, free: 3.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.253, allocations: 342.8 kB / 470.9 MB, free: 3.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.2535, allocations: 241.2 kB / 471.1 MB, free: 2.812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.2541, allocations: 336.4 kB / 471.4 MB, free: 2.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2554, allocations: 0.6124 MB / 472.1 MB, free: 1.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2554, allocations: 0 / 472.1 MB, free: 1.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001937/0.2573, allocations: 0.7495 MB / 472.8 MB, free: 1.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2573, allocations: 8 kB / 472.8 MB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2574, allocations: 3.984 kB / 472.8 MB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.2578, allocations: 110.5 kB / 472.9 MB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.2584, allocations: 128.1 kB / 473 MB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1715/0.4298, allocations: 3.204 MB / 476.3 MB, free: 85.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.4302, allocations: 13.91 kB / 476.3 MB, free: 85.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.4303, allocations: 36.17 kB / 476.3 MB, free: 85.49 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002703/0.4305, allocations: 187.2 kB / 476.5 MB, free: 85.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.4309, allocations: 40.5 kB / 476.5 MB, free: 85.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.4324, allocations: 0.8177 MB / 477.3 MB, free: 85.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.4325, allocations: 10.09 kB / 477.4 MB, free: 85.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.4325, allocations: 4.438 kB / 477.4 MB, free: 85.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.4335, allocations: 0.7661 MB / 478.1 MB, free: 84.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.4353, allocations: 1.132 MB / 479.3 MB, free: 84.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4353, allocations: 0 / 479.3 MB, free: 84.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.4357, allocations: 98.72 kB / 479.3 MB, free: 84.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/0.4366, allocations: 152.6 kB / 479.5 MB, free: 84.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.4366, allocations: 17.5 kB / 479.5 MB, free: 84.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002516/0.4369, allocations: 0.6437 MB / 480.2 MB, free: 83.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4369, allocations: 9.281 kB / 480.2 MB, free: 83.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.4384, allocations: 0.9008 MB / 481.1 MB, free: 83.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.4385, allocations: 31.89 kB / 481.1 MB, free: 83.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.4385, allocations: 17.91 kB / 481.1 MB, free: 83.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.4389, allocations: 21.89 kB / 481.1 MB, free: 83.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.439, allocations: 39.39 kB / 481.2 MB, free: 83.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.439, allocations: 27.88 kB / 481.2 MB, free: 83.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.4392, allocations: 218.7 kB / 481.4 MB, free: 83.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4392, allocations: 0.5312 kB / 481.4 MB, free: 83.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003248/0.4425, allocations: 1.338 MB / 482.8 MB, free: 82.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004163/0.4466, allocations: 1.69 MB / 484.4 MB, free: 82.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.4479, allocations: 0.7777 MB / 485.2 MB, free: 82.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4479, allocations: 1.156 kB / 485.2 MB, free: 82.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.4484, allocations: 289.3 kB / 485.5 MB, free: 82.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4496, allocations: 219.3 kB / 485.7 MB, free: 82.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.4512, allocations: 1.104 MB / 486.8 MB, free: 81.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.4514, allocations: 236.2 kB / 487.1 MB, free: 81.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004148/0.4518, allocations: 134 kB / 487.2 MB, free: 81.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4519, allocations: 55.45 kB / 487.2 MB, free: 81.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4519, allocations: 0 / 487.2 MB, free: 81.48 MB / 430.1 MB Notification: Performance of Templates: time 0.0454/0.4973, allocations: 44.21 MB / 0.519 GB, free: 42.83 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.084383737994358]