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.001055/0.001055, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.00261, allocations: 449.6 kB / 10.33 MB, free: 372 kB / 10.45 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.001112/0.001112, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002562, allocations: 475.5 kB / 11.67 MB, free: 2.496 MB / 13.93 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 0.9216/0.9216, allocations: 177.4 MB / 189.8 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08861/1.01, allocations: 53.87 MB / 243.7 MB, free: 14.93 MB / 250.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.2275/0.2275, allocations: 34.87 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01979/0.2473, allocations: 13.23 MB / 292.5 MB, free: 6.484 MB / 282.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.333e-06/1.333e-06, allocations: 0 / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.278e-05, allocations: 2.312 kB / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.149/0.149, allocations: 148.1 MB / 441.9 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1537/0.3027, allocations: 2.624 MB / 444.6 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.3031, allocations: 28.39 kB / 444.6 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.3035, allocations: 209.9 kB / 444.8 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.3053, allocations: 1.055 MB / 445.8 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.3065, allocations: 0.8041 MB / 446.7 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.3081, allocations: 1.924 MB / 448.6 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000525/0.3086, allocations: 420.9 kB / 449 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.31, allocations: 1.169 MB / 450.2 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.3107, allocations: 0.5604 MB / 450.7 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.3108, allocations: 62.67 kB / 450.8 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.3116, allocations: 480.1 kB / 451.2 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.3118, allocations: 234.8 kB / 451.5 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.312, allocations: 231.4 kB / 451.7 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009561/0.313, allocations: 0.8761 MB / 452.6 MB, free: 3.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.313, allocations: 0 / 452.6 MB, free: 3.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.313, allocations: 0.875 kB / 452.6 MB, free: 3.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.313, allocations: 2.812 kB / 452.6 MB, free: 3.41 MB / 426.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.001676/0.3147, allocations: 1.243 MB / 453.8 MB, free: 18.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.3147, allocations: 9.094 kB / 453.8 MB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/0.3152, allocations: 206.2 kB / 454 MB, free: 18.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.3157, allocations: 413.1 kB / 454.4 MB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.3157, allocations: 160.3 kB / 454.6 MB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.3158, allocations: 56.61 kB / 454.6 MB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.3163, allocations: 0.8913 MB / 455.5 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3164, allocations: 3.562 kB / 455.5 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.3164, allocations: 27.17 kB / 455.6 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.3164, allocations: 43.92 kB / 455.6 MB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.3167, allocations: 222.9 kB / 455.8 MB, free: 17.79 MB / 442.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.002045/0.3188, allocations: 2.657 MB / 458.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.319, allocations: 168 kB / 458.7 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.3191, allocations: 63.61 kB / 458.7 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.3192, allocations: 40.67 kB / 458.8 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3192, allocations: 44.7 kB / 458.8 MB, free: 15.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.3192, allocations: 0 / 458.8 MB, free: 15.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002127/0.3213, allocations: 0.9134 MB / 459.7 MB, free: 15.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3214, allocations: 134.3 kB / 459.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.3217, allocations: 478.4 kB / 460.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3217, allocations: 35.36 kB / 460.3 MB, free: 15.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3218, allocations: 347.2 kB / 460.7 MB, free: 14.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.3219, allocations: 143.8 kB / 460.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.322, allocations: 146.8 kB / 461 MB, free: 14.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3221, allocations: 378.5 kB / 461.3 MB, free: 14.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.725e-05/0.3222, allocations: 68.39 kB / 461.4 MB, free: 14.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3224, allocations: 494.3 kB / 461.9 MB, free: 13.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.3228, allocations: 0.5301 MB / 462.4 MB, free: 13.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3228, allocations: 3.531 kB / 462.4 MB, free: 13.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005229/0.3233, allocations: 489.4 kB / 462.9 MB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3234, allocations: 14.12 kB / 462.9 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3234, allocations: 11.66 kB / 462.9 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/0.3239, allocations: 216 kB / 463.1 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.3242, allocations: 150.3 kB / 463.3 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004356/0.3246, allocations: 0.6768 MB / 464 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3248, allocations: 27.52 kB / 464 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.3249, allocations: 47.84 kB / 464 MB, free: 13.01 MB / 442.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.000169/0.325, allocations: 171.8 kB / 464.2 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.3251, allocations: 50.44 kB / 464.2 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006539/0.3258, allocations: 0.5713 MB / 464.8 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3258, allocations: 6.969 kB / 464.8 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3258, allocations: 4 kB / 464.8 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3258, allocations: 4.141 kB / 464.8 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008384/0.3266, allocations: 0.7166 MB / 465.5 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3266, allocations: 0 / 465.5 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.3271, allocations: 199.9 kB / 465.7 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3272, allocations: 70.95 kB / 465.8 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.805e-05/0.3273, allocations: 21.66 kB / 465.8 MB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3273, allocations: 19.38 kB / 465.9 MB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3284, allocations: 2.408 MB / 468.3 MB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3284, allocations: 6.344 kB / 468.3 MB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3288, allocations: 468.7 kB / 468.7 MB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3289, allocations: 10.25 kB / 468.7 MB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.329, allocations: 16.38 kB / 468.8 MB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3291, allocations: 37.03 kB / 468.8 MB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.3291, allocations: 24.66 kB / 468.8 MB, free: 9.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3292, allocations: 203.5 kB / 469 MB, free: 9.801 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3292, allocations: 3.969 kB / 469 MB, free: 9.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005141/0.3297, allocations: 245.7 kB / 469.3 MB, free: 9.789 MB / 442.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.0003718/0.3301, allocations: 235.7 kB / 469.5 MB, free: 9.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.3326, allocations: 323.2 kB / 469.8 MB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-05/0.3327, allocations: 11.06 kB / 469.8 MB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.3334, allocations: 294.4 kB / 470.1 MB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.3348, allocations: 393.5 kB / 470.5 MB, free: 9.527 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.3455, allocations: 1.143 MB / 471.6 MB, free: 8.965 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3457, allocations: 162.8 kB / 471.8 MB, free: 8.891 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005996/0.3463, allocations: 363.9 kB / 472.1 MB, free: 8.848 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.3468, allocations: 313.3 kB / 472.4 MB, free: 8.793 MB / 442.7 MB Notification: Performance of SimCode: time 2.434e-06/0.3468, allocations: 0.875 kB / 472.4 MB, free: 8.793 MB / 442.7 MB Notification: Performance of Templates: time 0.01941/0.3662, allocations: 16.51 MB / 489 MB, free: 6.27 MB / 442.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 -ignoreHideResult -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.489401288330555]