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.001135/0.001135, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001355/0.001355, allocations: 162.2 kB / 24.92 MB, free: 8.77 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.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.438 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.2665/0.2665, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 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 1.883e-06/1.883e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.395e-05, allocations: 4.984 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3352/0.3352, allocations: 148.1 MB / 474.1 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.3389, allocations: 2.63 MB / 476.7 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.3393, allocations: 26.12 kB / 476.8 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.3398, allocations: 208.4 kB / 477 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.3424, allocations: 1.07 MB / 478 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.344, allocations: 0.8096 MB / 478.8 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.346, allocations: 1.903 MB / 480.8 MB, free: 16.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.3466, allocations: 412.7 kB / 481.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.3483, allocations: 1.132 MB / 482.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000768/0.3491, allocations: 0.5586 MB / 482.8 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3492, allocations: 57.97 kB / 482.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.3501, allocations: 484.6 kB / 483.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.3503, allocations: 292.5 kB / 483.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.3506, allocations: 281.4 kB / 483.9 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3518, allocations: 0.9879 MB / 484.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3518, allocations: 3.938 kB / 484.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3518, allocations: 0 / 484.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3518, allocations: 0 / 484.9 MB, free: 15.63 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.001428/0.3533, allocations: 0.9726 MB / 485.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3533, allocations: 15 kB / 485.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.3539, allocations: 210.5 kB / 486.1 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.3545, allocations: 421.2 kB / 486.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/0.3545, allocations: 162.2 kB / 486.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.3546, allocations: 58.3 kB / 486.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.3552, allocations: 0.8858 MB / 487.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3552, allocations: 0 / 487.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.3553, allocations: 27.75 kB / 487.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.3553, allocations: 40.09 kB / 487.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.3556, allocations: 229 kB / 487.9 MB, free: 14.09 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.001891/0.3575, allocations: 2.635 MB / 490.6 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.3577, allocations: 179.6 kB / 490.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.3578, allocations: 63.73 kB / 490.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.3579, allocations: 39.5 kB / 490.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.358, allocations: 49.62 kB / 490.9 MB, free: 12.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.358, allocations: 0 / 490.9 MB, free: 12.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002401/0.3604, allocations: 0.9169 MB / 491.8 MB, free: 11.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.3604, allocations: 136.7 kB / 491.9 MB, free: 11.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3607, allocations: 489.6 kB / 492.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3607, allocations: 34.95 kB / 492.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3608, allocations: 339 kB / 492.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.3609, allocations: 161.6 kB / 492.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.361, allocations: 142 kB / 493.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.3611, allocations: 381 kB / 493.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.3612, allocations: 63.38 kB / 493.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.3614, allocations: 493.7 kB / 494 MB, free: 10.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3618, allocations: 0.537 MB / 494.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3618, allocations: 4.906 kB / 494.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005727/0.3624, allocations: 493.4 kB / 495 MB, free: 9.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3624, allocations: 7.906 kB / 495 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3624, allocations: 14.92 kB / 495 MB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.363, allocations: 227.8 kB / 495.3 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3633, allocations: 132 kB / 495.4 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000439/0.3637, allocations: 0.6866 MB / 496.1 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.364, allocations: 25.78 kB / 496.1 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.364, allocations: 52.36 kB / 496.1 MB, free: 9.227 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.0001587/0.3642, allocations: 162.5 kB / 496.3 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.3642, allocations: 48.61 kB / 496.4 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.3649, allocations: 0.582 MB / 496.9 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3649, allocations: 5.188 kB / 496.9 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3649, allocations: 3.688 kB / 496.9 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3649, allocations: 5.547 kB / 497 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009191/0.3658, allocations: 0.7256 MB / 497.7 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3658, allocations: 1.688 kB / 497.7 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.3664, allocations: 191.3 kB / 497.9 MB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.936e-05/0.3664, allocations: 17.56 kB / 497.9 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.3665, allocations: 17.23 kB / 497.9 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008269/0.3673, allocations: 2.399 MB / 0.4886 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3673, allocations: 2.906 kB / 0.4886 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.3677, allocations: 476.7 kB / 0.489 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3678, allocations: 71.55 kB / 0.4891 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3679, allocations: 14.55 kB / 0.4891 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.368, allocations: 15.16 kB / 0.4891 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.3681, allocations: 44.56 kB / 0.4892 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.3681, allocations: 27.77 kB / 0.4892 GB, free: 6.016 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3683, allocations: 202 kB / 0.4894 GB, free: 5.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.3683, allocations: 0 / 0.4894 GB, free: 5.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007235/0.369, allocations: 257.2 kB / 0.4896 GB, free: 5.977 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.0004683/0.3695, allocations: 240.2 kB / 0.4899 GB, free: 5.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.37, allocations: 325.5 kB / 0.4902 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/0.37, allocations: 11.69 kB / 0.4902 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.3704, allocations: 295 kB / 0.4905 GB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.3711, allocations: 321.5 kB / 0.4908 GB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3726, allocations: 1.124 MB / 0.4919 GB, free: 5.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.548e-05/0.3727, allocations: 161.2 kB / 0.492 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005218/0.3732, allocations: 368.1 kB / 0.4924 GB, free: 4.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.3738, allocations: 319.4 kB / 0.4927 GB, free: 4.688 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3738, allocations: 0 / 0.4927 GB, free: 4.688 MB / 410.7 MB Notification: Performance of Templates: time 0.01889/0.3926, allocations: 16.57 MB / 0.5089 GB, free: 9.254 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 -s gbode -gbm=radauIIA3 -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.911151701118797]