Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001419/0.001419, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001534/0.001534, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.9747/0.9747, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.845e-05, allocations: 2.312 kB / 251.1 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3146/0.3146, allocations: 145.2 MB / 396.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.3155, allocations: 0.6809 MB / 397 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3156, allocations: 9.625 kB / 397 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.316, allocations: 95.83 kB / 397.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.3165, allocations: 383.4 kB / 397.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.3171, allocations: 372 kB / 397.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006166/0.3177, allocations: 0.926 MB / 398.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3178, allocations: 74.62 kB / 398.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.319, allocations: 0.9 MB / 399.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.3193, allocations: 253.7 kB / 399.9 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.3193, allocations: 35.81 kB / 400 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3195, allocations: 114.9 kB / 400.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.3196, allocations: 109.5 kB / 400.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3197, allocations: 140.9 kB / 400.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.32, allocations: 378.9 kB / 400.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.32, allocations: 0 / 400.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.32, allocations: 0 / 400.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.32, allocations: 0 / 400.7 MB, free: 9.668 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005421/0.3206, allocations: 0.6245 MB / 401.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3206, allocations: 16.41 kB / 401.3 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.3208, allocations: 80.3 kB / 401.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.321, allocations: 234.7 kB / 401.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.321, allocations: 18.84 kB / 401.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.3211, allocations: 31.16 kB / 401.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3214, allocations: 0.5027 MB / 402.2 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3214, allocations: 4 kB / 402.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.3214, allocations: 13.03 kB / 402.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3214, allocations: 5.562 kB / 402.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.3216, allocations: 132.5 kB / 402.4 MB, free: 8.445 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008736/0.3224, allocations: 1.451 MB / 403.8 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3226, allocations: 135.5 kB / 403.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.3227, allocations: 71.8 kB / 404 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.3227, allocations: 9.828 kB / 404 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3227, allocations: 39.48 kB / 404.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.3227, allocations: 0 / 404.1 MB, free: 7.133 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002429/0.3252, allocations: 1.07 MB / 405.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.3252, allocations: 64.97 kB / 405.2 MB, free: 6.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3253, allocations: 270.8 kB / 405.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3253, allocations: 32.17 kB / 405.5 MB, free: 6.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.3254, allocations: 227.8 kB / 405.7 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3254, allocations: 102.2 kB / 405.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.3255, allocations: 78.56 kB / 405.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.3255, allocations: 0.5043 MB / 406.4 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.3256, allocations: 51.78 kB / 406.4 MB, free: 5.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3257, allocations: 196.2 kB / 406.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3259, allocations: 267.7 kB / 406.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3259, allocations: 0 / 406.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000318/0.3262, allocations: 342.4 kB / 407.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3262, allocations: 8.531 kB / 407.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3262, allocations: 2.938 kB / 407.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.3264, allocations: 55.22 kB / 407.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.3265, allocations: 81.81 kB / 407.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006502/0.3272, allocations: 2.554 MB / 409.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.3273, allocations: 12.61 kB / 409.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.3273, allocations: 32.53 kB / 410 MB, free: 2.367 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.588e-05/0.3274, allocations: 184.1 kB / 410.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.3274, allocations: 32.58 kB / 410.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.3278, allocations: 359.3 kB / 410.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3278, allocations: 2.188 kB / 410.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.3278, allocations: 0 / 410.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002216/0.328, allocations: 0.5031 MB / 411 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.3285, allocations: 0.5952 MB / 411.6 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3285, allocations: 0 / 411.6 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.3287, allocations: 64.86 kB / 411.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.138e-05/0.3287, allocations: 35.23 kB / 411.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3287, allocations: 13.12 kB / 411.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005143/0.3293, allocations: 1.721 MB / 413.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3293, allocations: 0 / 413.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3296, allocations: 439.9 kB / 413.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.3296, allocations: 24.12 kB / 413.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3297, allocations: 13.81 kB / 413.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3298, allocations: 10.28 kB / 413.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3298, allocations: 23.02 kB / 414 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3298, allocations: 20.75 kB / 414 MB, free: 15.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3299, allocations: 192.2 kB / 414.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3299, allocations: 0 / 414.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000316/0.3303, allocations: 123.8 kB / 414.3 MB, free: 14.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002918/0.3306, allocations: 153.2 kB / 414.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.3309, allocations: 372.5 kB / 414.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.331, allocations: 0 / 414.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.3311, allocations: 259.2 kB / 415.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3315, allocations: 152.5 kB / 415.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009686/0.3325, allocations: 0.6047 MB / 415.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.3326, allocations: 91.8 kB / 415.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.3328, allocations: 95.36 kB / 416 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.3329, allocations: 48.39 kB / 416 MB, free: 13.74 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3329, allocations: 6.812 kB / 416.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of Templates: time 0.008615/0.3415, allocations: 7.747 MB / 423.8 MB, free: 9.75 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.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.427151889074594]