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.001089/0.001089, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.000983/0.000983, allocations: 165.2 kB / 24.99 MB, free: 8.219 MB / 18.57 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 0.9076/0.9076, allocations: 177 MB / 205.2 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.44e-05, allocations: 5.406 kB / 273 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1464/0.1464, allocations: 66.85 MB / 339.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005607/0.152, allocations: 5.533 MB / 345.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.1524, allocations: 7.938 kB / 345.4 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008647/0.1532, allocations: 333.8 kB / 345.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007756/0.154, allocations: 0.5356 MB / 346.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01458/0.1686, allocations: 7.534 MB / 353.8 MB, free: 428 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.17, allocations: 1.566 MB / 355.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.1702, allocations: 142.3 kB / 355.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/0.1711, allocations: 0.8494 MB / 356.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.1717, allocations: 0.5376 MB / 356.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.158e-05/0.1718, allocations: 84 kB / 357 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.1858, allocations: 9.586 MB / 366.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.1862, allocations: 347.1 kB / 366.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.1867, allocations: 335.4 kB / 367.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.1993, allocations: 6.742 MB / 374 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1993, allocations: 4 kB / 374 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1993, allocations: 0 / 374 MB, free: 12.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1993, allocations: 3.984 kB / 374 MB, free: 12.2 MB / 330.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.002699/0.202, allocations: 1.629 MB / 375.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.202, allocations: 8.031 kB / 375.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.2024, allocations: 155.3 kB / 375.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.2028, allocations: 394.4 kB / 376.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.2028, allocations: 49.31 kB / 376.2 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.2032, allocations: 64 kB / 376.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.2041, allocations: 0.8921 MB / 377.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2041, allocations: 0 / 377.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.2042, allocations: 31.98 kB / 377.2 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.2042, allocations: 19.94 kB / 377.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.205, allocations: 0.4955 MB / 377.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006626/0.2116, allocations: 3.873 MB / 381.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.2125, allocations: 466.9 kB / 382 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.2128, allocations: 216.9 kB / 382.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005095/0.2179, allocations: 2.633 MB / 384.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.2179, allocations: 46.05 kB / 384.9 MB, free: 1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.2179, allocations: 0 / 384.9 MB, free: 1 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.004728/0.2227, allocations: 2.204 MB / 387.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.2227, allocations: 64.41 kB / 387.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.2229, allocations: 328.1 kB / 387.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.223, allocations: 45.7 kB / 387.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2231, allocations: 295.8 kB / 387.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.2232, allocations: 317.2 kB / 388.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.2234, allocations: 172.2 kB / 388.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2235, allocations: 0.5274 MB / 388.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.2238, allocations: 165.9 kB / 389 MB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.2243, allocations: 319.4 kB / 389.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.2251, allocations: 0.5342 MB / 389.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2252, allocations: 0 / 389.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001671/0.2268, allocations: 0.8152 MB / 390.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2268, allocations: 7.125 kB / 390.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2269, allocations: 4 kB / 390.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/0.2273, allocations: 142.9 kB / 390.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.2277, allocations: 195.7 kB / 391 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.2297, allocations: 5.29 MB / 396.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.2299, allocations: 16 kB / 396.3 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.23, allocations: 44.27 kB / 396.3 MB, free: 5.035 MB / 346.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.000203/0.2302, allocations: 216.3 kB / 396.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.2305, allocations: 154.9 kB / 396.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.2318, allocations: 0.9668 MB / 397.7 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2318, allocations: 8 kB / 397.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2318, allocations: 0 / 397.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/0.233, allocations: 1.001 MB / 398.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.2347, allocations: 1.365 MB / 400.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2347, allocations: 0 / 400.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.2351, allocations: 163.8 kB / 400.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000963/0.2361, allocations: 275 kB / 400.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.2361, allocations: 35.92 kB / 400.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005647/0.2367, allocations: 1.822 MB / 402.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2367, allocations: 3.984 kB / 402.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.2381, allocations: 1.038 MB / 403.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.2382, allocations: 43.72 kB / 403.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.2382, allocations: 19.98 kB / 403.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.2385, allocations: 31.97 kB / 403.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.2386, allocations: 68.95 kB / 403.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.2386, allocations: 43.97 kB / 403.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.2388, allocations: 235 kB / 403.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2388, allocations: 0 / 403.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003287/0.2421, allocations: 1.427 MB / 405.2 MB, free: 11.79 MB / 362.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.004438/0.2465, allocations: 1.906 MB / 407.1 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.2478, allocations: 0.9146 MB / 408.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2478, allocations: 4 kB / 408.1 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.2483, allocations: 338.5 kB / 408.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.2492, allocations: 362.3 kB / 408.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.2513, allocations: 1.336 MB / 410.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2514, allocations: 169 kB / 410.2 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004572/0.2518, allocations: 179.3 kB / 410.4 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.252, allocations: 72.47 kB / 410.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.252, allocations: 0 / 410.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of Templates: time 0.139/0.391, allocations: 50.24 MB / 460.7 MB, free: 114.7 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.056776304962113]