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.001019/0.001019, 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.00103/0.00103, allocations: 169.1 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.9264/0.9264, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.266/0.266, allocations: 34.26 MB / 296.1 MB, free: 0.6562 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.603e-06/1.603e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.625e-05, allocations: 3.297 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3075/0.3075, allocations: 148.1 MB / 473.3 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3109, allocations: 2.632 MB / 476 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.3113, allocations: 28.12 kB / 476 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.3118, allocations: 206.5 kB / 476.2 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.3139, allocations: 1.104 MB / 477.3 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3151, allocations: 0.8299 MB / 478.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.3169, allocations: 1.904 MB / 480 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.3174, allocations: 418.4 kB / 480.4 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.319, allocations: 1.142 MB / 481.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007275/0.3197, allocations: 0.5523 MB / 482.1 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.3198, allocations: 59 kB / 482.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.3205, allocations: 457.6 kB / 482.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.3207, allocations: 282.9 kB / 482.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.321, allocations: 281.8 kB / 483.2 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3221, allocations: 0.999 MB / 484.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3221, allocations: 0 / 484.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3221, allocations: 0 / 484.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.3221, allocations: 0 / 484.2 MB, free: 15.71 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.001316/0.3234, allocations: 0.9822 MB / 485.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3234, allocations: 7.969 kB / 485.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/0.324, allocations: 206.8 kB / 485.4 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.3245, allocations: 420 kB / 485.8 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/0.3246, allocations: 155 kB / 485.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.3246, allocations: 65.86 kB / 486 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.3252, allocations: 0.8837 MB / 486.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.3252, allocations: 2.625 kB / 486.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.3253, allocations: 22.34 kB / 486.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.3253, allocations: 40.94 kB / 487 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.3256, allocations: 238.7 kB / 487.2 MB, free: 14.15 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.001866/0.3275, allocations: 2.644 MB / 489.8 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3277, allocations: 172 kB / 490 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.3278, allocations: 67.05 kB / 490.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.3279, allocations: 42.58 kB / 490.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3279, allocations: 40.91 kB / 490.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.3279, allocations: 0 / 490.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002123/0.33, allocations: 0.9263 MB / 491.1 MB, free: 11.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.3301, allocations: 137.4 kB / 491.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3303, allocations: 485.9 kB / 491.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3303, allocations: 31.86 kB / 491.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3304, allocations: 341.7 kB / 492.1 MB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.3305, allocations: 152.2 kB / 492.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3306, allocations: 147.3 kB / 492.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.518e-05/0.3307, allocations: 378 kB / 492.7 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.3308, allocations: 61.41 kB / 492.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.3309, allocations: 499.6 kB / 493.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.3313, allocations: 0.5322 MB / 493.8 MB, free: 9.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3313, allocations: 3.125 kB / 493.8 MB, free: 9.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0004829/0.3317, allocations: 497.2 kB / 494.3 MB, free: 9.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3318, allocations: 13.41 kB / 494.3 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3318, allocations: 11.25 kB / 494.3 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.3323, allocations: 216.1 kB / 494.5 MB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3325, allocations: 123.4 kB / 494.6 MB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003655/0.3329, allocations: 0.6863 MB / 495.3 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3331, allocations: 31.25 kB / 495.4 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.3331, allocations: 46.33 kB / 495.4 MB, free: 9.293 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.0001346/0.3333, allocations: 171.6 kB / 495.6 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.3333, allocations: 53.42 kB / 495.6 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006082/0.334, allocations: 0.5856 MB / 496.2 MB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.334, allocations: 5.438 kB / 496.2 MB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.334, allocations: 9.125 kB / 496.2 MB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.334, allocations: 1.641 kB / 496.2 MB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.3348, allocations: 0.7144 MB / 496.9 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3348, allocations: 2.375 kB / 496.9 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.3352, allocations: 170.5 kB / 497.1 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-05/0.3353, allocations: 22.92 kB / 497.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3353, allocations: 13.98 kB / 497.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007606/0.3361, allocations: 2.403 MB / 499.5 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3361, allocations: 5.781 kB / 499.6 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.3365, allocations: 470.8 kB / 0.4883 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3366, allocations: 79.48 kB / 0.4884 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.3366, allocations: 16 kB / 0.4884 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.3368, allocations: 18.38 kB / 0.4884 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3369, allocations: 42.11 kB / 0.4884 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.3369, allocations: 25.77 kB / 0.4885 GB, free: 6.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.337, allocations: 201.2 kB / 0.4887 GB, free: 6.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.337, allocations: 0 / 0.4887 GB, free: 6.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.3376, allocations: 250.5 kB / 0.4889 GB, free: 6.039 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.000388/0.338, allocations: 238.9 kB / 0.4891 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.3384, allocations: 325.5 kB / 0.4894 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.3384, allocations: 12.25 kB / 0.4894 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.3388, allocations: 299.1 kB / 0.4897 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.3396, allocations: 316.2 kB / 0.49 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3411, allocations: 1.122 MB / 0.4911 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.3412, allocations: 168.3 kB / 0.4913 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000495/0.3417, allocations: 361.9 kB / 0.4916 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/0.3422, allocations: 323.9 kB / 0.4919 GB, free: 4.859 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3422, allocations: 0 / 0.4919 GB, free: 4.859 MB / 410.7 MB Notification: Performance of Templates: time 0.01886/0.3611, allocations: 16.53 MB / 0.5081 GB, free: 9.543 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 -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.8205994558520615]