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.001935/0.001935, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.001971/0.001971, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.575/1.575, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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 1.202e-06/1.202e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.412e-05, allocations: 6.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1898/0.1899, allocations: 66.74 MB / 339 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009787/0.1997, allocations: 5.527 MB / 344.5 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.2002, allocations: 11.94 kB / 344.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.2015, allocations: 337.8 kB / 344.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2029, allocations: 0.5395 MB / 345.4 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02132/0.2242, allocations: 7.535 MB / 352.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.2264, allocations: 1.562 MB / 354.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.2267, allocations: 142.9 kB / 354.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.228, allocations: 0.8495 MB / 355.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008795/0.2289, allocations: 0.5298 MB / 356 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.229, allocations: 84 kB / 356.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02045/0.2495, allocations: 9.586 MB / 365.7 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005724/0.25, allocations: 347.1 kB / 366 MB, free: 3.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000678/0.2507, allocations: 343.4 kB / 366.3 MB, free: 3.129 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.2674, allocations: 7.171 MB / 373.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2674, allocations: 3.938 kB / 373.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2674, allocations: 4 kB / 373.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.2674, allocations: 0 / 373.5 MB, free: 11.93 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.004166/0.2716, allocations: 1.672 MB / 375.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2716, allocations: 15.98 kB / 375.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.2722, allocations: 155.3 kB / 375.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.273, allocations: 398.3 kB / 375.7 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.273, allocations: 45.31 kB / 375.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.2732, allocations: 68 kB / 375.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.275, allocations: 0.9703 MB / 376.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.2751, allocations: 4 kB / 376.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.2752, allocations: 32 kB / 376.8 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.2752, allocations: 16 kB / 376.9 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.2769, allocations: 0.6647 MB / 377.5 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.2921, allocations: 4.103 MB / 381.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.2937, allocations: 0.5596 MB / 382.2 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.2943, allocations: 277.5 kB / 382.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.3057, allocations: 2.625 MB / 385.1 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.831e-05/0.3058, allocations: 58.25 kB / 385.1 MB, free: 44 kB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/0.3058, allocations: 3.938 kB / 385.1 MB, free: 40 kB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.009375/0.3152, allocations: 2.55 MB / 387.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.3152, allocations: 60.41 kB / 387.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.3157, allocations: 376.1 kB / 388.1 MB, free: 13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.3158, allocations: 45.7 kB / 388.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.316, allocations: 303.8 kB / 388.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.3164, allocations: 345.2 kB / 388.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.3167, allocations: 192.2 kB / 389 MB, free: 12.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003547/0.317, allocations: 0.5665 MB / 389.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.3175, allocations: 237.9 kB / 389.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009333/0.3185, allocations: 427.4 kB / 390.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.3202, allocations: 0.7333 MB / 390.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3202, allocations: 4 kB / 390.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002665/0.3228, allocations: 0.9717 MB / 391.9 MB, free: 9.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3229, allocations: 8.031 kB / 391.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3229, allocations: 4 kB / 391.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.3237, allocations: 158.6 kB / 392.1 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.3245, allocations: 191.8 kB / 392.3 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004682/0.3292, allocations: 5.391 MB / 397.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.3296, allocations: 20.34 kB / 397.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.3298, allocations: 47.98 kB / 397.7 MB, free: 2.926 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.0003882/0.3301, allocations: 240.3 kB / 398 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/0.3307, allocations: 154.9 kB / 398.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.3333, allocations: 1.208 MB / 399.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3333, allocations: 8 kB / 399.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.3333, allocations: 0 / 399.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002002/0.3353, allocations: 1.146 MB / 400.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.3387, allocations: 1.615 MB / 402.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3387, allocations: 0 / 402.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.3395, allocations: 171.7 kB / 402.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.3413, allocations: 283 kB / 402.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.3413, allocations: 31.92 kB / 402.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.3427, allocations: 1.876 MB / 404.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3427, allocations: 0 / 404.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.3454, allocations: 1.284 MB / 405.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3455, allocations: 39.72 kB / 405.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3456, allocations: 23.98 kB / 405.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.3461, allocations: 23.98 kB / 405.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3462, allocations: 64.95 kB / 405.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/0.3463, allocations: 47.97 kB / 405.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003188/0.3466, allocations: 267 kB / 406.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3466, allocations: 0 / 406.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004121/0.3508, allocations: 1.423 MB / 407.6 MB, free: 8.699 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.005967/0.3567, allocations: 1.919 MB / 409.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.359, allocations: 1.079 MB / 410.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3591, allocations: 0 / 410.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009213/0.36, allocations: 418.6 kB / 411 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.3618, allocations: 370.2 kB / 411.4 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.3647, allocations: 1.432 MB / 412.8 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3651, allocations: 305.8 kB / 413.1 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000649/0.3657, allocations: 174.8 kB / 413.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.3659, allocations: 72.48 kB / 413.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3659, allocations: 0 / 413.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of Templates: time 0.1832/0.5491, allocations: 50.24 MB / 463.6 MB, free: 110 MB / 378.7 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=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","/var/lib/jenkins/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.180695838993415]