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.0007835/0.0007835, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001862, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007036/0.0007036, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009344/0.001638, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9256/0.9256, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1546/1.08, allocations: 49.49 MB / 220.7 MB, free: 1.355 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.773e-06/1.773e-06, allocations: 0 / 222 MB, free: 16 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.389e-05, allocations: 6.25 kB / 222 MB, free: 8 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2892/0.2892, allocations: 129.8 MB / 351.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2906, allocations: 0.7671 MB / 352.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2907, allocations: 6.719 kB / 352.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.291, allocations: 100 kB / 352.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.2915, allocations: 346.9 kB / 353 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.2921, allocations: 393.7 kB / 353.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006692/0.2927, allocations: 0.8762 MB / 354.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2929, allocations: 74.73 kB / 354.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.2934, allocations: 499.6 kB / 354.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.2937, allocations: 287.2 kB / 355.1 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.2937, allocations: 32 kB / 355.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.2939, allocations: 67.84 kB / 355.2 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.294, allocations: 79.78 kB / 355.3 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.2941, allocations: 119.8 kB / 355.4 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.2944, allocations: 275.2 kB / 355.7 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.2944, allocations: 0 / 355.7 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2944, allocations: 4 kB / 355.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2944, allocations: 0 / 355.7 MB, free: 8.77 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.0005996/0.295, allocations: 0.5587 MB / 356.2 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.295, allocations: 8.031 kB / 356.2 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.2953, allocations: 157.8 kB / 356.4 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.2955, allocations: 201.2 kB / 356.6 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2955, allocations: 20.88 kB / 356.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.2956, allocations: 28.38 kB / 356.6 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.2959, allocations: 458.8 kB / 357.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2959, allocations: 4 kB / 357.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2959, allocations: 8 kB / 357.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2959, allocations: 11.98 kB / 357.1 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.296, allocations: 86.2 kB / 357.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.2968, allocations: 0.7336 MB / 357.9 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.297, allocations: 115.2 kB / 358 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.2971, allocations: 49.28 kB / 358.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.2971, allocations: 19.92 kB / 358.1 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2971, allocations: 38.56 kB / 358.1 MB, free: 6.105 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.2971, allocations: 0 / 358.1 MB, free: 6.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001253/0.2984, allocations: 0.6538 MB / 358.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2984, allocations: 59.41 kB / 358.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2986, allocations: 212.7 kB / 359.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.2986, allocations: 33.7 kB / 359.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.2987, allocations: 172.3 kB / 359.3 MB, free: 4.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.2987, allocations: 99.19 kB / 359.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.2989, allocations: 65.42 kB / 359.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.299, allocations: 346.7 kB / 359.8 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.299, allocations: 27.98 kB / 359.8 MB, free: 4.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.2991, allocations: 128 kB / 359.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2993, allocations: 211.5 kB / 360.1 MB, free: 3.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2993, allocations: 8 kB / 360.1 MB, free: 3.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002367/0.2995, allocations: 222.9 kB / 360.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2995, allocations: 8 kB / 360.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2995, allocations: 6.281 kB / 360.4 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.582e-05/0.2996, allocations: 37.7 kB / 360.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2999, allocations: 99.86 kB / 360.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.3009, allocations: 2.33 MB / 362.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.301, allocations: 16 kB / 362.8 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.301, allocations: 8 kB / 362.8 MB, free: 1.031 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 8.804e-05/0.3011, allocations: 140.5 kB / 363 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3011, allocations: 28.11 kB / 363 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.3013, allocations: 177.6 kB / 363.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3013, allocations: 3.984 kB / 363.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3013, allocations: 4 kB / 363.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002262/0.3016, allocations: 452.5 kB / 363.6 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.302, allocations: 412.3 kB / 364 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.302, allocations: 0 / 364 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3022, allocations: 79.81 kB / 364.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.3022, allocations: 23.84 kB / 364.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-05/0.3023, allocations: 12.86 kB / 364.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3023, allocations: 15.92 kB / 364.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004356/0.3027, allocations: 1.158 MB / 365.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3027, allocations: 0 / 365.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.303, allocations: 306.7 kB / 365.6 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.303, allocations: 8 kB / 365.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3031, allocations: 8 kB / 365.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.3031, allocations: 24.05 kB / 365.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3031, allocations: 11.98 kB / 365.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.167e-05/0.3032, allocations: 67.17 kB / 365.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3032, allocations: 0 / 365.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000251/0.3034, allocations: 91.98 kB / 365.8 MB, free: 13.79 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.0001713/0.3036, allocations: 96.28 kB / 365.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.3039, allocations: 386.4 kB / 366.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.3039, allocations: 7.984 kB / 366.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.3042, allocations: 203.3 kB / 366.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.3048, allocations: 0.6763 MB / 367.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.3088, allocations: 0.5667 MB / 367.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.3089, allocations: 92.56 kB / 367.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.309, allocations: 46.95 kB / 367.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.3093, allocations: 169.2 kB / 368 MB, free: 11.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3093, allocations: 3.938 kB / 368.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of Templates: time 0.007679/0.317, allocations: 6.407 MB / 374.5 MB, free: 4.965 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.97682164888829]