Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001464/0.001464, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001411/0.001411, allocations: 163.3 kB / 24.91 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 0.97/0.97, allocations: 177 MB / 205.2 MB, free: 5.422 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.2409/0.2409, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 3.938 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.334e-05, allocations: 2.312 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2944/0.2944, allocations: 134.1 MB / 460 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.2978, allocations: 3.112 MB / 463.2 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.2981, allocations: 30.25 kB / 463.2 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.2987, allocations: 215.5 kB / 463.4 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.2998, allocations: 0.776 MB / 464.2 MB, free: 16.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3011, allocations: 0.8904 MB / 465.1 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3028, allocations: 1.851 MB / 466.9 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.3033, allocations: 428.2 kB / 467.3 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3044, allocations: 0.9359 MB / 468.3 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008683/0.3053, allocations: 0.6464 MB / 468.9 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3054, allocations: 60.84 kB / 469 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.3059, allocations: 285 kB / 469.2 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.3061, allocations: 290.7 kB / 469.5 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.3063, allocations: 281.7 kB / 469.8 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009007/0.3072, allocations: 0.7925 MB / 470.6 MB, free: 16.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3072, allocations: 0 / 470.6 MB, free: 16.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3072, allocations: 4 kB / 470.6 MB, free: 16.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.3072, allocations: 0 / 470.6 MB, free: 16.21 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.001197/0.3084, allocations: 0.9268 MB / 471.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3084, allocations: 10.66 kB / 471.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.3087, allocations: 128.2 kB / 471.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.3092, allocations: 435.6 kB / 472.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.3092, allocations: 149.8 kB / 472.2 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.3093, allocations: 56.55 kB / 472.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.3098, allocations: 0.8633 MB / 473.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3098, allocations: 6.625 kB / 473.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.3099, allocations: 25.94 kB / 473.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.3099, allocations: 37.66 kB / 473.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.3102, allocations: 236.4 kB / 473.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.312, allocations: 2.438 MB / 475.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3123, allocations: 226.1 kB / 476.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.3124, allocations: 78.23 kB / 476.2 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.831e-05/0.3125, allocations: 40.61 kB / 476.2 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3125, allocations: 39.14 kB / 476.3 MB, free: 12.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.403e-06/0.3125, allocations: 0 / 476.3 MB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001286/0.3138, allocations: 0.7848 MB / 477.1 MB, free: 12.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.3138, allocations: 137 kB / 477.2 MB, free: 12.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3141, allocations: 471.7 kB / 477.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3141, allocations: 31.73 kB / 477.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3142, allocations: 332.9 kB / 478 MB, free: 12.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.3143, allocations: 170.5 kB / 478.2 MB, free: 12.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.3144, allocations: 143.8 kB / 478.3 MB, free: 12.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.3145, allocations: 380.1 kB / 478.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.3145, allocations: 67.45 kB / 478.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.3147, allocations: 479.1 kB / 479.2 MB, free: 11.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.3151, allocations: 0.5194 MB / 479.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3151, allocations: 2.281 kB / 479.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000566/0.3156, allocations: 0.5121 MB / 480.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3156, allocations: 8.594 kB / 480.3 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3157, allocations: 13.75 kB / 480.3 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.3162, allocations: 228.5 kB / 480.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3165, allocations: 132.8 kB / 480.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003574/0.3168, allocations: 0.663 MB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.317, allocations: 28.06 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.317, allocations: 34.05 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (74): * Single equations (assignments): 73 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.3172, allocations: 161.7 kB / 481.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.3172, allocations: 52.72 kB / 481.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.3177, allocations: 420.4 kB / 482 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3177, allocations: 3.312 kB / 482 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3177, allocations: 3.344 kB / 482 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3177, allocations: 4.734 kB / 482 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.3183, allocations: 0.6987 MB / 482.7 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3184, allocations: 2.531 kB / 482.7 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.3188, allocations: 188.3 kB / 482.9 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-05/0.3189, allocations: 19.31 kB / 482.9 MB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3189, allocations: 16.62 kB / 482.9 MB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/0.3196, allocations: 2.403 MB / 485.3 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3196, allocations: 4.469 kB / 485.3 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.32, allocations: 0.5044 MB / 485.8 MB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.3201, allocations: 82.7 kB / 485.9 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.3201, allocations: 9.75 kB / 485.9 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3203, allocations: 22.59 kB / 485.9 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3203, allocations: 42.22 kB / 486 MB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.3204, allocations: 16.12 kB / 486 MB, free: 7.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.3205, allocations: 198.2 kB / 486.2 MB, free: 7.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3205, allocations: 2.344 kB / 486.2 MB, free: 7.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.3209, allocations: 194.9 kB / 486.4 MB, free: 7.012 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001924/0.3211, allocations: 157.3 kB / 486.5 MB, free: 6.926 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.3215, allocations: 340.6 kB / 486.9 MB, free: 6.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.3215, allocations: 12.78 kB / 486.9 MB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.3219, allocations: 311.1 kB / 487.2 MB, free: 6.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.3225, allocations: 340 kB / 487.5 MB, free: 6.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3238, allocations: 1.135 MB / 488.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.3239, allocations: 164.2 kB / 488.8 MB, free: 6.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.3241, allocations: 120.3 kB / 488.9 MB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.3246, allocations: 300 kB / 489.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3246, allocations: 0 / 489.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of Templates: time 0.01481/0.3394, allocations: 14.21 MB / 0.4916 GB, free: 436 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.6489106230437756]