Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 184.1 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 51.91 kB / 370.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2379, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03024/0.2681, allocations: 24.48 MB / 447.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005118/0.2733, allocations: 3.766 MB / 451.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.2734, allocations: 7.938 kB / 451.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.2741, allocations: 190.8 kB / 451.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.2747, allocations: 346.1 kB / 451.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.279, allocations: 1.455 MB / 453.3 MB, free: 156 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.2801, allocations: 0.899 MB / 454.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2803, allocations: 84.75 kB / 454.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/0.2867, allocations: 4.131 MB / 458.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.2871, allocations: 270.8 kB / 458.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.2872, allocations: 36 kB / 458.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2886, allocations: 0.7024 MB / 459.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.2887, allocations: 103.7 kB / 459.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.2889, allocations: 163.4 kB / 459.7 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.2901, allocations: 0.8531 MB / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2901, allocations: 0 / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2901, allocations: 0 / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2901, allocations: 3.938 kB / 460.5 MB, free: 8.91 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009569/0.2911, allocations: 0.5868 MB / 461.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2911, allocations: 12.03 kB / 461.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.2915, allocations: 52.73 kB / 461.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.292, allocations: 233.9 kB / 461.4 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.292, allocations: 17.03 kB / 461.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.2921, allocations: 32.38 kB / 461.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.2927, allocations: 489.9 kB / 461.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.2927, allocations: 7.938 kB / 462 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.2928, allocations: 16 kB / 462 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2928, allocations: 4 kB / 462 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.2931, allocations: 209.8 kB / 462.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.3053, allocations: 4.083 MB / 466.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3057, allocations: 170.6 kB / 466.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3059, allocations: 82.7 kB / 466.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/0.3159, allocations: 2.688 MB / 469.2 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/0.3159, allocations: 46.55 kB / 469.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.3159, allocations: 0 / 469.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006154/0.3221, allocations: 1.254 MB / 470.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.3221, allocations: 63.34 kB / 470.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.3224, allocations: 232 kB / 470.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3224, allocations: 33.7 kB / 470.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3226, allocations: 192.4 kB / 471 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.3227, allocations: 99.17 kB / 471.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.3228, allocations: 65.59 kB / 471.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3229, allocations: 334.8 kB / 471.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3231, allocations: 95.73 kB / 471.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.3233, allocations: 187.1 kB / 471.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.3238, allocations: 295 kB / 472.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3238, allocations: 0 / 472.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007248/0.3245, allocations: 398.8 kB / 472.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3245, allocations: 4 kB / 472.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3245, allocations: 4 kB / 472.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/0.3285, allocations: 0.942 MB / 473.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.3288, allocations: 63.91 kB / 473.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.3305, allocations: 1.855 MB / 475.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3307, allocations: 11.98 kB / 475.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.3307, allocations: 16 kB / 475.3 MB, free: 9.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.3309, allocations: 153.7 kB / 475.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.3309, allocations: 31.95 kB / 475.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.3317, allocations: 494.1 kB / 476 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3317, allocations: 4 kB / 476 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3317, allocations: 0 / 476 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007658/0.3325, allocations: 0.7361 MB / 476.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3338, allocations: 0.8441 MB / 477.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3338, allocations: 0 / 477.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.334, allocations: 51.91 kB / 477.6 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.3357, allocations: 316.6 kB / 477.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3357, allocations: 11.97 kB / 478 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005615/0.3363, allocations: 0.6499 MB / 478.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3363, allocations: 0 / 478.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/0.3373, allocations: 0.7367 MB / 479.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.3373, allocations: 19.89 kB / 479.4 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.3374, allocations: 20.05 kB / 479.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3375, allocations: 8 kB / 479.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.3376, allocations: 11.97 kB / 479.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3376, allocations: 12 kB / 479.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.3377, allocations: 165.6 kB / 479.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 479.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006637/0.3384, allocations: 187.7 kB / 479.8 MB, free: 4.953 MB / 382.1 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005816/0.339, allocations: 270.7 kB / 480 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.3398, allocations: 447.5 kB / 480.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3398, allocations: 3.938 kB / 480.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.3404, allocations: 232.6 kB / 480.7 MB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.3412, allocations: 132.1 kB / 480.8 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3426, allocations: 0.8135 MB / 481.6 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.3427, allocations: 168.2 kB / 481.8 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.3429, allocations: 46.94 kB / 481.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.343, allocations: 27.44 kB / 481.9 MB, free: 2.777 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.343, allocations: 0 / 481.9 MB, free: 2.777 MB / 382.1 MB Notification: Performance of Templates: time 0.01679/0.3598, allocations: 9.824 MB / 491.7 MB, free: 9.082 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.69625211507082]