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.0008943/0.0008943, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001474/0.001474, allocations: 174.2 kB / 25.61 MB, free: 8.922 MB / 18.57 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.9251/0.9251, allocations: 158.6 MB / 187.5 MB, free: 2.766 MB / 170.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.864e-06/1.864e-06, allocations: 0 / 251.5 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.134e-05, allocations: 2.312 kB / 251.5 MB, free: 7.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2798/0.2798, allocations: 127.4 MB / 378.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.281, allocations: 0.7407 MB / 379.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.2812, allocations: 9.281 kB / 379.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.2816, allocations: 105.1 kB / 379.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000615/0.2822, allocations: 343.4 kB / 380.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.283, allocations: 390.8 kB / 380.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.284, allocations: 0.8826 MB / 381.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2841, allocations: 67.53 kB / 381.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.2848, allocations: 475.8 kB / 381.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.2852, allocations: 308.6 kB / 382.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.2853, allocations: 29.81 kB / 382.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.2855, allocations: 69.88 kB / 382.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.2856, allocations: 106.6 kB / 382.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.2857, allocations: 144.5 kB / 382.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.286, allocations: 303.2 kB / 382.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.286, allocations: 0 / 382.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.286, allocations: 0 / 382.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.286, allocations: 0 / 382.8 MB, free: 11.54 MB / 330.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.0005887/0.2866, allocations: 0.624 MB / 383.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2867, allocations: 16.42 kB / 383.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.2869, allocations: 82.94 kB / 383.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.2872, allocations: 225 kB / 383.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.2872, allocations: 17.58 kB / 383.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.2872, allocations: 36.47 kB / 383.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.2875, allocations: 461.4 kB / 384.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2875, allocations: 192 / 384.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.2876, allocations: 9.75 kB / 384.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.2876, allocations: 9.594 kB / 384.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2877, allocations: 95.17 kB / 384.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009995/0.2887, allocations: 1.024 MB / 385.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.2889, allocations: 142.5 kB / 385.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.289, allocations: 49.05 kB / 385.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.289, allocations: 17.39 kB / 385.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.289, allocations: 43.17 kB / 385.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.289, allocations: 0 / 385.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001248/0.2903, allocations: 0.6363 MB / 386.3 MB, free: 9.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.548e-05/0.2903, allocations: 54.31 kB / 386.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2904, allocations: 283.8 kB / 386.6 MB, free: 9.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2904, allocations: 30.98 kB / 386.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.2905, allocations: 235.6 kB / 386.9 MB, free: 8.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.2905, allocations: 96.62 kB / 387 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.2906, allocations: 76.83 kB / 387.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.2906, allocations: 0.5039 MB / 387.6 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.2907, allocations: 35.77 kB / 387.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.2908, allocations: 178.9 kB / 387.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2909, allocations: 238.8 kB / 388 MB, free: 8.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2909, allocations: 1.25 kB / 388 MB, free: 8.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002513/0.2912, allocations: 287.8 kB / 388.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2912, allocations: 9.656 kB / 388.3 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2912, allocations: 3 kB / 388.3 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.041e-05/0.2913, allocations: 45.25 kB / 388.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2914, allocations: 76.86 kB / 388.4 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000848/0.2923, allocations: 3.438 MB / 391.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.2924, allocations: 5.125 kB / 391.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2924, allocations: 14.97 kB / 391.9 MB, free: 4.48 MB / 330.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 7.721e-05/0.2925, allocations: 178.2 kB / 392 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.2925, allocations: 38.61 kB / 392.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.2927, allocations: 210.5 kB / 392.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2927, allocations: 2.969 kB / 392.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2927, allocations: 3.938 kB / 392.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001735/0.2929, allocations: 490.4 kB / 392.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.2933, allocations: 0.5309 MB / 393.3 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2933, allocations: 2.281 kB / 393.3 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.2934, allocations: 58.45 kB / 393.4 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.886e-05/0.2935, allocations: 22.53 kB / 393.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2935, allocations: 6.094 kB / 393.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000365/0.2938, allocations: 1.713 MB / 395.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2939, allocations: 0.625 kB / 395.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.2941, allocations: 394.6 kB / 395.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.2941, allocations: 20.12 kB / 395.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2941, allocations: 5.906 kB / 395.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2942, allocations: 12.83 kB / 395.5 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.2943, allocations: 19.42 kB / 395.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2943, allocations: 20.52 kB / 395.6 MB, free: 1.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.2943, allocations: 177.8 kB / 395.7 MB, free: 1.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2943, allocations: 0 / 395.7 MB, free: 1.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.2946, allocations: 89.91 kB / 395.8 MB, free: 1.355 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.0001476/0.2947, allocations: 122.4 kB / 396 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.2951, allocations: 494.2 kB / 396.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2951, allocations: 0 / 396.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2952, allocations: 245.7 kB / 396.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.2956, allocations: 149.3 kB / 396.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.2965, allocations: 0.5779 MB / 397.4 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.217e-05/0.2965, allocations: 90.11 kB / 397.5 MB, free: 280 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.2967, allocations: 46.55 kB / 397.5 MB, free: 260 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.297, allocations: 209.2 kB / 397.7 MB, free: 192 kB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.297, allocations: 0 / 397.7 MB, free: 192 kB / 330.7 MB Notification: Performance of Templates: time 0.007541/0.3045, allocations: 6.003 MB / 403.7 MB, free: 13.69 MB / 346.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 -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.058802206069231]