Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0007905/0.0007905, allocations: 83.69 kB / 21.43 MB, free: 3.121 MB / 18.57 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.00325/0.00325, allocations: 164.4 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8477/0.8477, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.189e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01551/0.01553, allocations: 24.46 MB / 350.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.01849, allocations: 3.769 MB / 354.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.01865, allocations: 4 kB / 354.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.01916, allocations: 190.7 kB / 354.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.01961, allocations: 357.7 kB / 354.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.02236, allocations: 1.507 MB / 356.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.02296, allocations: 0.8943 MB / 357 MB, free: 136 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.02311, allocations: 68.89 kB / 357.1 MB, free: 68 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.02686, allocations: 4.279 MB / 361.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.0271, allocations: 255.2 kB / 361.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.02714, allocations: 32 kB / 361.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.02794, allocations: 0.6984 MB / 362.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.02803, allocations: 99.64 kB / 362.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.02814, allocations: 151.7 kB / 362.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008531/0.02899, allocations: 0.9509 MB / 363.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.029, allocations: 7.922 kB / 363.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.029, allocations: 0 / 363.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.029, allocations: 4 kB / 363.5 MB, free: 9.59 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006642/0.02967, allocations: 0.5818 MB / 364.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.02971, allocations: 12.02 kB / 364.1 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.02997, allocations: 56.69 kB / 364.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.0303, allocations: 229.3 kB / 364.4 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.03032, allocations: 25.03 kB / 364.4 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.03035, allocations: 32.36 kB / 364.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.03075, allocations: 0.4905 MB / 365 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.03077, allocations: 192 / 365 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.03079, allocations: 16.12 kB / 365 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.0308, allocations: 8 kB / 365 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.03101, allocations: 201.8 kB / 365.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.03668, allocations: 4.09 MB / 369.3 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.03691, allocations: 170.5 kB / 369.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.03699, allocations: 84.83 kB / 369.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004244/0.04124, allocations: 2.668 MB / 372.2 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.04126, allocations: 30.56 kB / 372.2 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.04126, allocations: 0 / 372.2 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003343/0.04461, allocations: 1.271 MB / 373.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.04464, allocations: 55.41 kB / 373.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.0448, allocations: 236 kB / 373.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.04481, allocations: 29.64 kB / 373.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.04491, allocations: 196.3 kB / 374 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.04495, allocations: 91.22 kB / 374.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.04502, allocations: 69.66 kB / 374.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.0451, allocations: 334.8 kB / 374.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.04521, allocations: 99.95 kB / 374.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.04535, allocations: 182.8 kB / 374.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.04561, allocations: 311 kB / 375.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.04561, allocations: 0 / 375.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004122/0.04603, allocations: 382.9 kB / 375.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.04605, allocations: 12.31 kB / 375.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.04605, allocations: 4 kB / 375.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.04791, allocations: 0.9389 MB / 376.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.04806, allocations: 67.91 kB / 376.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009821/0.04904, allocations: 1.856 MB / 378.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.04912, allocations: 11.94 kB / 378.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.04914, allocations: 16 kB / 378.3 MB, free: 10.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.04925, allocations: 145.8 kB / 378.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.04928, allocations: 23.86 kB / 378.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.04974, allocations: 498 kB / 379 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.04975, allocations: 15.88 kB / 379 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.04975, allocations: 0 / 379 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000418/0.05017, allocations: 0.7238 MB / 379.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/0.05107, allocations: 0.8449 MB / 380.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.05108, allocations: 0 / 380.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.582e-05/0.05117, allocations: 47.92 kB / 380.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007319/0.0519, allocations: 320.3 kB / 380.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.05192, allocations: 8 kB / 380.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002825/0.0522, allocations: 0.6461 MB / 381.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0522, allocations: 0 / 381.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.05276, allocations: 0.7295 MB / 382.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.05279, allocations: 31.73 kB / 382.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.05281, allocations: 4 kB / 382.4 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.05289, allocations: 11.94 kB / 382.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.05292, allocations: 19.91 kB / 382.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.05293, allocations: 11.98 kB / 382.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.05302, allocations: 165.7 kB / 382.6 MB, free: 5.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05302, allocations: 0 / 382.6 MB, free: 5.844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003842/0.05341, allocations: 191.7 kB / 382.7 MB, free: 5.656 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004161/0.05383, allocations: 294.7 kB / 383 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.05434, allocations: 446.8 kB / 383.5 MB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.05434, allocations: 0 / 383.5 MB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.05461, allocations: 224.2 kB / 383.7 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.05506, allocations: 133.2 kB / 383.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.05588, allocations: 0.7602 MB / 384.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.05599, allocations: 172.2 kB / 384.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.05604, allocations: 32.48 kB / 384.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05604, allocations: 4 kB / 384.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of Templates: time 0.00729/0.06333, allocations: 8.315 MB / 393.1 MB, free: 11.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 5.168941909447312]