Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.0009396/0.0009396, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.00223, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009134/0.0009134, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003785/0.004698, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8786/0.8786, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1493/1.028, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.063e-05, allocations: 2.312 kB / 221.9 MB, free: 132 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2685/0.2685, allocations: 129.7 MB / 351.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2698, allocations: 0.7692 MB / 352.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.27, allocations: 9.281 kB / 352.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.2703, allocations: 99.48 kB / 352.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.2708, allocations: 339.2 kB / 352.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.2714, allocations: 399.4 kB / 353.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007552/0.2722, allocations: 0.8834 MB / 354.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2723, allocations: 70.84 kB / 354.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.2729, allocations: 0.4885 MB / 354.7 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.2732, allocations: 287.2 kB / 354.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.2733, allocations: 32 kB / 355 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2734, allocations: 71.84 kB / 355 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.2735, allocations: 75.78 kB / 355.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.2739, allocations: 119.8 kB / 355.2 MB, free: 9.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.2743, allocations: 271.2 kB / 355.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.2743, allocations: 0 / 355.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2743, allocations: 0 / 355.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.2743, allocations: 3.938 kB / 355.5 MB, free: 8.934 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005961/0.2749, allocations: 0.5704 MB / 356.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.2749, allocations: 8.031 kB / 356.1 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.2751, allocations: 153.8 kB / 356.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2754, allocations: 201.3 kB / 356.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2754, allocations: 16.88 kB / 356.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.2754, allocations: 28.38 kB / 356.5 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.2757, allocations: 458.8 kB / 356.9 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2757, allocations: 3.984 kB / 356.9 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2757, allocations: 12 kB / 356.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2757, allocations: 4 kB / 356.9 MB, free: 7.355 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2759, allocations: 90.22 kB / 357 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008543/0.2767, allocations: 0.7381 MB / 357.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.2769, allocations: 111.2 kB / 357.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.2769, allocations: 53.14 kB / 357.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.277, allocations: 15.94 kB / 357.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.277, allocations: 34.56 kB / 358 MB, free: 6.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.277, allocations: 0 / 358 MB, free: 6.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001198/0.2782, allocations: 0.6492 MB / 358.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.2782, allocations: 55.41 kB / 358.7 MB, free: 5.512 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2784, allocations: 212.7 kB / 358.9 MB, free: 5.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2784, allocations: 33.7 kB / 358.9 MB, free: 5.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.2784, allocations: 172.3 kB / 359.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.2785, allocations: 91.2 kB / 359.2 MB, free: 4.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.2786, allocations: 73.41 kB / 359.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.2786, allocations: 342.7 kB / 359.6 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.2787, allocations: 27.98 kB / 359.6 MB, free: 4.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.2788, allocations: 139.9 kB / 359.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.2789, allocations: 198.6 kB / 359.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2789, allocations: 0 / 359.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002619/0.2792, allocations: 227.4 kB / 360.2 MB, free: 3.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2792, allocations: 8 kB / 360.2 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2792, allocations: 4 kB / 360.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.2793, allocations: 37.69 kB / 360.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.2796, allocations: 95.81 kB / 360.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.2811, allocations: 2.335 MB / 362.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2812, allocations: 8 kB / 362.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2812, allocations: 16 kB / 362.7 MB, free: 1.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.646e-05/0.2813, allocations: 136.7 kB / 362.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.2813, allocations: 23.97 kB / 362.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.2815, allocations: 177.4 kB / 363 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2815, allocations: 4 kB / 363 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2815, allocations: 4 kB / 363 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002303/0.2818, allocations: 460.5 kB / 363.4 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.2822, allocations: 409 kB / 363.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2822, allocations: 3.984 kB / 363.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.2824, allocations: 71.88 kB / 363.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.2824, allocations: 23.8 kB / 363.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/0.2825, allocations: 20.84 kB / 364 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2825, allocations: 11.97 kB / 364 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004997/0.283, allocations: 1.154 MB / 365.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.283, allocations: 4 kB / 365.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.2833, allocations: 298.9 kB / 365.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2833, allocations: 16 kB / 365.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2834, allocations: 8 kB / 365.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.2834, allocations: 23.84 kB / 365.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2835, allocations: 11.98 kB / 365.5 MB, free: 14.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.2835, allocations: 69.8 kB / 365.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2835, allocations: 0 / 365.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.2838, allocations: 84 kB / 365.6 MB, free: 13.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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): 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.0001589/0.2839, allocations: 104.3 kB / 365.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.2843, allocations: 381.8 kB / 366.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.2843, allocations: 4 kB / 366.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.2844, allocations: 180.2 kB / 366.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2848, allocations: 167.4 kB / 366.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.2888, allocations: 0.5823 MB / 367 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.79e-05/0.2888, allocations: 88.62 kB / 367.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.289, allocations: 50.94 kB / 367.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.2893, allocations: 161.2 kB / 367.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.492e-06/0.2893, allocations: 0 / 367.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of Templates: time 0.008336/0.2976, allocations: 6.318 MB / 373.6 MB, free: 5.891 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/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.02191548794508]