Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009322/0.0009322, allocations: 80.92 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.0009488/0.0009488, allocations: 169.5 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 1.023/1.023, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1545/0.1545, allocations: 32.8 MB / 294.6 MB, free: 15.45 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 323.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.815e-05, allocations: 2.312 kB / 323.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2815/0.2815, allocations: 134.1 MB / 457.4 MB, free: 332 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.2866, allocations: 3.116 MB / 460.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.2873, allocations: 27.75 kB / 460.5 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.2881, allocations: 218.6 kB / 460.7 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.2902, allocations: 0.7767 MB / 461.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.2919, allocations: 0.8819 MB / 462.4 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.2939, allocations: 1.852 MB / 464.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006698/0.2946, allocations: 427 kB / 464.6 MB, free: 9.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.2959, allocations: 0.9392 MB / 465.6 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009041/0.2968, allocations: 0.6389 MB / 466.2 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.297, allocations: 60 kB / 466.3 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.2976, allocations: 283.5 kB / 466.5 MB, free: 7.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.2978, allocations: 283.2 kB / 466.8 MB, free: 6.828 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.298, allocations: 295.3 kB / 467.1 MB, free: 6.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.299, allocations: 0.7943 MB / 467.9 MB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.299, allocations: 0 / 467.9 MB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.299, allocations: 0 / 467.9 MB, free: 5.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.299, allocations: 0 / 467.9 MB, free: 5.742 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.001536/0.3006, allocations: 0.9285 MB / 468.8 MB, free: 4.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3006, allocations: 11.98 kB / 468.8 MB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.301, allocations: 132.6 kB / 469 MB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.3016, allocations: 431.4 kB / 469.4 MB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3017, allocations: 156.4 kB / 469.6 MB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.3017, allocations: 56.36 kB / 469.6 MB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.3024, allocations: 0.8601 MB / 470.5 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3025, allocations: 4.312 kB / 470.5 MB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.3025, allocations: 35.91 kB / 470.5 MB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.3026, allocations: 32.98 kB / 470.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.3029, allocations: 244.3 kB / 470.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.3052, allocations: 2.437 MB / 473.2 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.3056, allocations: 214.7 kB / 473.4 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.3057, allocations: 73.42 kB / 473.5 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3058, allocations: 44.28 kB / 473.5 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3058, allocations: 42.83 kB / 473.6 MB, free: 15.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.3058, allocations: 4 kB / 473.6 MB, free: 15.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001472/0.3073, allocations: 0.7807 MB / 474.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3073, allocations: 132.5 kB / 474.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.3076, allocations: 474.8 kB / 475 MB, free: 14.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3077, allocations: 29.7 kB / 475 MB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3078, allocations: 329.2 kB / 475.3 MB, free: 13.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.3079, allocations: 182.5 kB / 475.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.308, allocations: 138.5 kB / 475.6 MB, free: 13.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3081, allocations: 374.6 kB / 476 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.3082, allocations: 61.97 kB / 476 MB, free: 13.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.3085, allocations: 481.5 kB / 476.5 MB, free: 12.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.3089, allocations: 0.5199 MB / 477 MB, free: 11.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3089, allocations: 4 kB / 477 MB, free: 11.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006433/0.3096, allocations: 0.5212 MB / 477.6 MB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3096, allocations: 8 kB / 477.6 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3096, allocations: 12 kB / 477.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/0.3103, allocations: 223.3 kB / 477.8 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.3105, allocations: 135.8 kB / 477.9 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004495/0.3109, allocations: 0.6683 MB / 478.6 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3112, allocations: 24 kB / 478.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.3112, allocations: 35.98 kB / 478.7 MB, free: 10.19 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.0001582/0.3114, allocations: 160.4 kB / 478.8 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.3114, allocations: 51.95 kB / 478.9 MB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.3119, allocations: 410.1 kB / 479.3 MB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3119, allocations: 7.984 kB / 479.3 MB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3119, allocations: 0 / 479.3 MB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.312, allocations: 0 / 479.3 MB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/0.3128, allocations: 0.7123 MB / 480 MB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3128, allocations: 4.5 kB / 480 MB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.3133, allocations: 188 kB / 480.2 MB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-05/0.3134, allocations: 12.86 kB / 480.2 MB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.3134, allocations: 17.17 kB / 480.2 MB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.3146, allocations: 2.41 MB / 482.6 MB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3146, allocations: 4 kB / 482.6 MB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.3151, allocations: 0.5015 MB / 483.1 MB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3152, allocations: 87.72 kB / 483.2 MB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.3153, allocations: 12 kB / 483.2 MB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3154, allocations: 12 kB / 483.2 MB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.3155, allocations: 47.8 kB / 483.3 MB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.3155, allocations: 15.98 kB / 483.3 MB, free: 5.262 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3157, allocations: 196.4 kB / 483.5 MB, free: 5.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3157, allocations: 0 / 483.5 MB, free: 5.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004962/0.3162, allocations: 195.9 kB / 483.7 MB, free: 4.879 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.0002455/0.3164, allocations: 152.1 kB / 483.8 MB, free: 4.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.317, allocations: 346.2 kB / 484.2 MB, free: 4.383 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/0.317, allocations: 8.5 kB / 484.2 MB, free: 4.375 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.3174, allocations: 310.2 kB / 484.5 MB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.3182, allocations: 331.2 kB / 484.8 MB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3198, allocations: 1.16 MB / 486 MB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.32, allocations: 171.2 kB / 486.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003553/0.3203, allocations: 109 kB / 486.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.3209, allocations: 299 kB / 486.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of SimCode: time 1.943e-06/0.3209, allocations: 0 / 486.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of Templates: time 0.01797/0.3388, allocations: 14.22 MB / 0.489 GB, free: 4.02 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5744798402301967]