Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0009129/0.0009129, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001268/0.001268, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9935/0.9935, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1411/0.1411, allocations: 34.25 MB / 296.1 MB, free: 13.99 MB / 282.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.55e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2915/0.2915, allocations: 134.1 MB / 459.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004988/0.2965, allocations: 3.117 MB / 462.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005187/0.297, allocations: 27.75 kB / 462.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.2977, allocations: 218.5 kB / 462.7 MB, free: 9.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.2993, allocations: 0.7767 MB / 463.5 MB, free: 9.148 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3011, allocations: 0.8862 MB / 464.4 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.3031, allocations: 1.852 MB / 466.2 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007385/0.3038, allocations: 424.8 kB / 466.7 MB, free: 5.988 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.3051, allocations: 0.9391 MB / 467.6 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008679/0.306, allocations: 0.6389 MB / 468.2 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.3061, allocations: 63.98 kB / 468.3 MB, free: 4.344 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005574/0.3067, allocations: 283.5 kB / 468.6 MB, free: 4.066 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.3069, allocations: 291.1 kB / 468.9 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.3072, allocations: 283.4 kB / 469.1 MB, free: 3.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009451/0.3081, allocations: 0.7866 MB / 469.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3081, allocations: 0 / 469.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3081, allocations: 4 kB / 469.9 MB, free: 2.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3081, allocations: 4 kB / 469.9 MB, free: 2.707 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.001454/0.3096, allocations: 0.9269 MB / 470.9 MB, free: 1.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3096, allocations: 16.03 kB / 470.9 MB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.3099, allocations: 124.6 kB / 471 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.3105, allocations: 427.4 kB / 471.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3106, allocations: 160.3 kB / 471.6 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.3107, allocations: 52.38 kB / 471.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.3114, allocations: 0.864 MB / 472.5 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.3114, allocations: 8.312 kB / 472.5 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.3114, allocations: 31.92 kB / 472.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.3115, allocations: 36.98 kB / 472.6 MB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.3118, allocations: 240.3 kB / 472.8 MB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.314, allocations: 2.435 MB / 475.2 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.3143, allocations: 214.8 kB / 475.4 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.3144, allocations: 77.41 kB / 475.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3145, allocations: 44.3 kB / 475.6 MB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3145, allocations: 38.83 kB / 475.6 MB, free: 12.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.3145, allocations: 4 kB / 475.6 MB, free: 12.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001474/0.316, allocations: 0.7874 MB / 476.4 MB, free: 11.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3161, allocations: 132.5 kB / 476.5 MB, free: 11.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.3164, allocations: 478.8 kB / 477 MB, free: 11.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.3164, allocations: 33.7 kB / 477 MB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3165, allocations: 329.2 kB / 477.3 MB, free: 10.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.3166, allocations: 170.5 kB / 477.5 MB, free: 10.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3168, allocations: 138.5 kB / 477.6 MB, free: 10.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.317, allocations: 382.6 kB / 478 MB, free: 10.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.317, allocations: 61.97 kB / 478.1 MB, free: 10.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.3173, allocations: 481.5 kB / 478.5 MB, free: 9.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.3177, allocations: 0.516 MB / 479.1 MB, free: 8.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3177, allocations: 0 / 479.1 MB, free: 8.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007269/0.3184, allocations: 0.5143 MB / 479.6 MB, free: 8.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3185, allocations: 16.25 kB / 479.6 MB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3185, allocations: 8 kB / 479.6 MB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.3191, allocations: 224.9 kB / 479.8 MB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.3193, allocations: 135.8 kB / 479.9 MB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004481/0.3198, allocations: 0.6688 MB / 480.6 MB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.32, allocations: 20 kB / 480.6 MB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.32, allocations: 35.98 kB / 480.7 MB, free: 7.16 MB / 426.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.0001449/0.3202, allocations: 156.5 kB / 480.8 MB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.3202, allocations: 63.88 kB / 480.9 MB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.3207, allocations: 413.3 kB / 481.3 MB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3207, allocations: 4 kB / 481.3 MB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3207, allocations: 0 / 481.3 MB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3208, allocations: 2.75 kB / 481.3 MB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.3215, allocations: 0.7115 MB / 482 MB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3215, allocations: 4 kB / 482 MB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.322, allocations: 183.8 kB / 482.2 MB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-05/0.3221, allocations: 16.84 kB / 482.2 MB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.3221, allocations: 16 kB / 482.2 MB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.3234, allocations: 2.415 MB / 484.6 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3234, allocations: 0 / 484.6 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.3239, allocations: 0.5015 MB / 485.1 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.324, allocations: 87.45 kB / 485.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3241, allocations: 12 kB / 485.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3242, allocations: 19.98 kB / 485.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.3243, allocations: 39.81 kB / 485.3 MB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.3243, allocations: 20.05 kB / 485.3 MB, free: 2.223 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3245, allocations: 196.4 kB / 485.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3245, allocations: 0 / 485.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.3249, allocations: 191.9 kB / 485.7 MB, free: 1.844 MB / 426.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.0002432/0.3251, allocations: 150.7 kB / 485.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3256, allocations: 346 kB / 486.2 MB, free: 1.355 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/0.3257, allocations: 12.41 kB / 486.2 MB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.3261, allocations: 310.3 kB / 486.5 MB, free: 1.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.3268, allocations: 342.6 kB / 486.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.3284, allocations: 1.137 MB / 488 MB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3285, allocations: 171.2 kB / 488.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.3288, allocations: 121 kB / 488.2 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.3294, allocations: 299 kB / 488.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3294, allocations: 0 / 488.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of Templates: time 0.01731/0.3467, allocations: 14.23 MB / 0.491 GB, free: 0.9766 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.5214789849705994]