Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.001168/0.001168, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001483/0.001483, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.961/0.961, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2654/0.2654, allocations: 34.25 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.781e-05, allocations: 4.141 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3077/0.3077, allocations: 148.1 MB / 473.4 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.3112, allocations: 2.635 MB / 476.1 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.3116, allocations: 28.84 kB / 476.1 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.3121, allocations: 211.2 kB / 476.3 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.3143, allocations: 1.065 MB / 477.4 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3156, allocations: 0.8092 MB / 478.2 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.3173, allocations: 1.9 MB / 480.1 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/0.3179, allocations: 415.4 kB / 480.5 MB, free: 16.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.3193, allocations: 1.138 MB / 481.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006651/0.32, allocations: 0.5621 MB / 482.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.3201, allocations: 57.81 kB / 482.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007971/0.3209, allocations: 471.9 kB / 482.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.3211, allocations: 294.5 kB / 483 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.3214, allocations: 277.2 kB / 483.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009774/0.3223, allocations: 0.9984 MB / 484.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3223, allocations: 4 kB / 484.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3223, allocations: 0 / 484.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.3224, allocations: 0 / 484.3 MB, free: 15.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001266/0.3236, allocations: 0.9746 MB / 485.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3237, allocations: 11.19 kB / 485.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/0.3242, allocations: 207.5 kB / 485.4 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.3247, allocations: 428 kB / 485.9 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.3248, allocations: 149.1 kB / 486 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.3248, allocations: 61.47 kB / 486.1 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.3254, allocations: 0.8899 MB / 487 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3254, allocations: 3.891 kB / 487 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.3255, allocations: 24.78 kB / 487 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.3255, allocations: 39.53 kB / 487 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.3258, allocations: 226.2 kB / 487.2 MB, free: 14.11 MB / 410.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.001754/0.3276, allocations: 2.649 MB / 489.9 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3278, allocations: 167.4 kB / 490.1 MB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.3279, allocations: 71.48 kB / 490.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.328, allocations: 39.48 kB / 490.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.328, allocations: 40.59 kB / 490.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.472e-06/0.328, allocations: 0 / 490.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002124/0.3301, allocations: 0.9286 MB / 491.1 MB, free: 11.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.3302, allocations: 134.2 kB / 491.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3304, allocations: 487.9 kB / 491.7 MB, free: 11.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3305, allocations: 35.11 kB / 491.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3306, allocations: 343.6 kB / 492.1 MB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.3306, allocations: 152.2 kB / 492.3 MB, free: 11.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3307, allocations: 146.9 kB / 492.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.3308, allocations: 378.1 kB / 492.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.3309, allocations: 61.69 kB / 492.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.3311, allocations: 499.1 kB / 493.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.3314, allocations: 0.5257 MB / 493.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3314, allocations: 2.938 kB / 493.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00049/0.3319, allocations: 498.9 kB / 494.3 MB, free: 9.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3319, allocations: 14.75 kB / 494.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3319, allocations: 12.5 kB / 494.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/0.3325, allocations: 225.8 kB / 494.6 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3327, allocations: 134.4 kB / 494.7 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003656/0.3331, allocations: 0.6825 MB / 495.4 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.3333, allocations: 28.92 kB / 495.4 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.3333, allocations: 52.38 kB / 495.5 MB, free: 9.246 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.3335, allocations: 163.8 kB / 495.6 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.3335, allocations: 54.45 kB / 495.7 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/0.3341, allocations: 0.5844 MB / 496.3 MB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3341, allocations: 5.094 kB / 496.3 MB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3341, allocations: 0 / 496.3 MB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3341, allocations: 1.453 kB / 496.3 MB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.3349, allocations: 0.7251 MB / 497 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3349, allocations: 2.531 kB / 497 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.3354, allocations: 186.2 kB / 497.2 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-05/0.3355, allocations: 25.53 kB / 497.2 MB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3355, allocations: 15.8 kB / 497.2 MB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007464/0.3363, allocations: 2.399 MB / 499.6 MB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3363, allocations: 7.562 kB / 499.6 MB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.3366, allocations: 472.7 kB / 0.4884 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.3367, allocations: 71.66 kB / 0.4884 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3368, allocations: 12.72 kB / 0.4885 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3369, allocations: 11.59 kB / 0.4885 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.337, allocations: 37.89 kB / 0.4885 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.337, allocations: 41.02 kB / 0.4885 GB, free: 6.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3372, allocations: 199.5 kB / 0.4887 GB, free: 6.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3372, allocations: 0 / 0.4887 GB, free: 6.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000547/0.3377, allocations: 252.6 kB / 0.489 GB, free: 6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0004034/0.3381, allocations: 239.9 kB / 0.4892 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.3386, allocations: 327.8 kB / 0.4895 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.3386, allocations: 9.531 kB / 0.4895 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.3389, allocations: 287.1 kB / 0.4898 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.3396, allocations: 325.3 kB / 0.4901 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.341, allocations: 1.121 MB / 0.4912 GB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.473e-05/0.3411, allocations: 162.1 kB / 0.4914 GB, free: 5.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.3415, allocations: 367.2 kB / 0.4917 GB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.342, allocations: 328.6 kB / 0.492 GB, free: 4.812 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.342, allocations: 0 / 0.492 GB, free: 4.812 MB / 410.7 MB Notification: Performance of Templates: time 0.01699/0.359, allocations: 16.59 MB / 0.5082 GB, free: 9.488 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/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.7780331852845848]