Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.001033/0.001033, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001109/0.001109, allocations: 164.1 kB / 25.75 MB, free: 8.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9304/0.9304, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 251.2 MB, free: 7.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.675e-05, allocations: 6.25 kB / 251.2 MB, free: 7.738 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3479/0.3479, allocations: 180 MB / 431.2 MB, free: 1.711 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.3519, allocations: 4.832 MB / 436 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.3521, allocations: 13.72 kB / 436.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.3527, allocations: 233.4 kB / 436.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.3532, allocations: 397.1 kB / 436.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.3587, allocations: 2.942 MB / 439.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3598, allocations: 1.18 MB / 440.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.36, allocations: 94.67 kB / 440.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.3632, allocations: 1.643 MB / 442.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.3638, allocations: 399 kB / 442.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.842e-05/0.3639, allocations: 64 kB / 443 MB, free: 7.609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005358/0.3693, allocations: 3.497 MB / 446.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.3695, allocations: 251.4 kB / 446.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.3698, allocations: 251.6 kB / 447 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.3749, allocations: 2.828 MB / 449.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3749, allocations: 4 kB / 449.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3749, allocations: 0 / 449.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3749, allocations: 0 / 449.8 MB, free: 0.7734 MB / 346.7 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.001731/0.3767, allocations: 1.194 MB / 451 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3767, allocations: 11.98 kB / 451 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.377, allocations: 111.5 kB / 451.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.3774, allocations: 307.1 kB / 451.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3775, allocations: 29 kB / 451.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.3775, allocations: 48 kB / 451.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.3781, allocations: 0.6472 MB / 452.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3781, allocations: 7.953 kB / 452.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.3782, allocations: 16 kB / 452.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3782, allocations: 12 kB / 452.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.3787, allocations: 333.6 kB / 452.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3805, allocations: 1.161 MB / 453.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.3812, allocations: 349.7 kB / 454 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3814, allocations: 133.1 kB / 454.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.3815, allocations: 108.4 kB / 454.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3816, allocations: 46.33 kB / 454.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 2.404e-06/0.3816, allocations: 0 / 454.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.005644/0.3872, allocations: 2.249 MB / 456.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3873, allocations: 64 kB / 456.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3875, allocations: 274.6 kB / 456.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.3875, allocations: 37.7 kB / 456.9 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3876, allocations: 248.1 kB / 457.1 MB, free: 9.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.3878, allocations: 234 kB / 457.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.3879, allocations: 124 kB / 457.5 MB, free: 8.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.388, allocations: 0.5157 MB / 458 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3883, allocations: 137.2 kB / 458.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.3886, allocations: 230.1 kB / 458.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.3891, allocations: 394.3 kB / 458.7 MB, free: 7.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3891, allocations: 0 / 458.7 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008462/0.3899, allocations: 0.5586 MB / 459.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.39, allocations: 11.94 kB / 459.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.39, allocations: 0 / 459.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.3906, allocations: 202.9 kB / 459.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3909, allocations: 119.8 kB / 459.6 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.3934, allocations: 4.342 MB / 464 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3936, allocations: 20.12 kB / 464 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.3937, allocations: 27.98 kB / 464 MB, free: 1.875 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.3939, allocations: 192.4 kB / 464.2 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.394, allocations: 63.75 kB / 464.3 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.3951, allocations: 0.6534 MB / 464.9 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3951, allocations: 11.98 kB / 464.9 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.3951, allocations: 0 / 464.9 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008096/0.3959, allocations: 0.7089 MB / 465.6 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3973, allocations: 1.1 MB / 466.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3973, allocations: 0 / 466.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.3976, allocations: 116.9 kB / 466.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006994/0.3983, allocations: 255.4 kB / 467.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.3984, allocations: 19.98 kB / 467.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005161/0.3989, allocations: 0.8896 MB / 468 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3989, allocations: 0 / 468 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4, allocations: 0.8277 MB / 468.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.4, allocations: 35.7 kB / 468.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.4001, allocations: 16 kB / 468.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4003, allocations: 40 kB / 468.9 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.4004, allocations: 48.38 kB / 469 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.4004, allocations: 31.97 kB / 469 MB, free: 12.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.4006, allocations: 201.1 kB / 469.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4006, allocations: 0 / 469.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001078/0.4016, allocations: 458.7 kB / 469.7 MB, free: 12.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.4027, allocations: 0.6084 MB / 470.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.404, allocations: 0.7866 MB / 471.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.404, allocations: 4 kB / 471.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.4043, allocations: 268.5 kB / 471.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007761/0.4051, allocations: 258.8 kB / 471.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.4072, allocations: 1.066 MB / 472.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.4073, allocations: 139.9 kB / 472.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003825/0.4077, allocations: 108.3 kB / 472.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.4079, allocations: 52.48 kB / 472.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of SimCode: time 2.094e-06/0.4079, allocations: 3.938 kB / 472.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of Templates: time 0.0232/0.4311, allocations: 20.54 MB / 493.5 MB, free: 4.121 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.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: 3.7926618449855596]