Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001335/0.001335, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001055/0.001055, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 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.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2739/0.2739, allocations: 34.86 MB / 296.6 MB, free: 388 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.44e-05, allocations: 2.312 kB / 325.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3399/0.3399, allocations: 148.1 MB / 474 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.3436, allocations: 2.628 MB / 476.6 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.3439, allocations: 29.19 kB / 476.7 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.3444, allocations: 209.6 kB / 476.9 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.3467, allocations: 1.102 MB / 478 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3482, allocations: 0.8309 MB / 478.8 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3498, allocations: 1.905 MB / 480.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005342/0.3504, allocations: 422.9 kB / 481.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.3517, allocations: 1.133 MB / 482.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006931/0.3524, allocations: 0.5623 MB / 482.8 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3525, allocations: 60.47 kB / 482.9 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007788/0.3533, allocations: 449.7 kB / 483.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.3535, allocations: 286.3 kB / 483.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.3537, allocations: 286.2 kB / 483.9 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3548, allocations: 0.9939 MB / 484.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3548, allocations: 0 / 484.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3548, allocations: 0 / 484.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3548, allocations: 0 / 484.9 MB, free: 15.62 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.001307/0.3561, allocations: 0.9819 MB / 485.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3562, allocations: 9 kB / 485.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.3567, allocations: 210.9 kB / 486.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.3571, allocations: 422.8 kB / 486.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.3572, allocations: 156.1 kB / 486.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.3573, allocations: 62.72 kB / 486.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.3578, allocations: 0.8824 MB / 487.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3578, allocations: 2.812 kB / 487.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.3579, allocations: 25.88 kB / 487.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.3579, allocations: 44.92 kB / 487.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.3582, allocations: 225.9 kB / 487.9 MB, free: 14.07 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.001715/0.3599, allocations: 2.643 MB / 490.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.3602, allocations: 176.9 kB / 490.7 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.3603, allocations: 64.38 kB / 490.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.3604, allocations: 36.58 kB / 490.8 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.3604, allocations: 43.03 kB / 490.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.3604, allocations: 0 / 490.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002111/0.3625, allocations: 0.9264 MB / 491.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.3625, allocations: 134 kB / 491.9 MB, free: 11.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3628, allocations: 492 kB / 492.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3628, allocations: 29.27 kB / 492.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.3629, allocations: 350.7 kB / 492.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.363, allocations: 147.1 kB / 492.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3631, allocations: 146.7 kB / 493 MB, free: 11.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.3632, allocations: 374.4 kB / 493.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.3633, allocations: 64.84 kB / 493.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.3635, allocations: 496.3 kB / 493.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.3638, allocations: 0.5358 MB / 494.5 MB, free: 9.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3638, allocations: 2.719 kB / 494.5 MB, free: 9.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005097/0.3644, allocations: 499 kB / 495 MB, free: 9.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3644, allocations: 13.66 kB / 495 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3644, allocations: 10.66 kB / 495 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.3649, allocations: 225.9 kB / 495.2 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.3651, allocations: 120 kB / 495.3 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/0.3655, allocations: 0.682 MB / 496 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3657, allocations: 28.84 kB / 496 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.3658, allocations: 49.2 kB / 496.1 MB, free: 9.207 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.0001463/0.3659, allocations: 169.8 kB / 496.2 MB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.366, allocations: 54.91 kB / 496.3 MB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.3667, allocations: 0.5798 MB / 496.9 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3667, allocations: 5.5 kB / 496.9 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3667, allocations: 1.547 kB / 496.9 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3667, allocations: 1.594 kB / 496.9 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.3674, allocations: 0.7178 MB / 497.6 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3674, allocations: 7.031 kB / 497.6 MB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.3679, allocations: 168.2 kB / 497.8 MB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-05/0.3679, allocations: 18.5 kB / 497.8 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.368, allocations: 18.75 kB / 497.8 MB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000699/0.3687, allocations: 2.406 MB / 0.4885 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3687, allocations: 5.562 kB / 0.4885 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.3691, allocations: 474.7 kB / 0.4889 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3692, allocations: 71.95 kB / 0.489 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.3692, allocations: 15.17 kB / 0.489 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3694, allocations: 13.12 kB / 0.489 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3694, allocations: 41.98 kB / 0.4891 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.3695, allocations: 29.78 kB / 0.4891 GB, free: 5.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.3696, allocations: 199.7 kB / 0.4893 GB, free: 5.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3696, allocations: 0 / 0.4893 GB, free: 5.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005318/0.3702, allocations: 247.6 kB / 0.4895 GB, free: 5.961 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.0003754/0.3705, allocations: 247.5 kB / 0.4898 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.371, allocations: 325.2 kB / 0.4901 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.371, allocations: 8.812 kB / 0.4901 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.3713, allocations: 294.2 kB / 0.4904 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.372, allocations: 315.3 kB / 0.4907 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3734, allocations: 1.14 MB / 0.4918 GB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.626e-05/0.3735, allocations: 163.1 kB / 0.4919 GB, free: 4.973 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004864/0.374, allocations: 364.1 kB / 0.4923 GB, free: 4.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.3745, allocations: 322.5 kB / 0.4926 GB, free: 4.676 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3745, allocations: 0 / 0.4926 GB, free: 4.676 MB / 410.7 MB Notification: Performance of Templates: time 0.01662/0.3911, allocations: 16.53 MB / 0.5087 GB, free: 9.309 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.7440479886718094]