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.001295/0.001295, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001443/0.001443, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.44/1.44, allocations: 225.6 MB / 253.3 MB, free: 13 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.001654/0.001654, allocations: 51.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2953, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03025/0.3255, allocations: 27.35 MB / 451.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.3308, allocations: 4.206 MB / 455.4 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.331, allocations: 7.938 kB / 455.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.3317, allocations: 202.7 kB / 455.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007011/0.3324, allocations: 346.1 kB / 456 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00412/0.3365, allocations: 1.478 MB / 457.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.3376, allocations: 0.9028 MB / 458.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.3378, allocations: 88.8 kB / 458.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006673/0.3445, allocations: 4.131 MB / 462.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005058/0.345, allocations: 298.8 kB / 462.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.3451, allocations: 36 kB / 462.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.3466, allocations: 0.7337 MB / 463.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3467, allocations: 91.67 kB / 463.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.3469, allocations: 195.2 kB / 463.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.3482, allocations: 0.8569 MB / 464.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3482, allocations: 0 / 464.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3482, allocations: 0 / 464.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3482, allocations: 0 / 464.8 MB, free: 5.645 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.0009579/0.3492, allocations: 0.5867 MB / 465.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3492, allocations: 12.03 kB / 465.4 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.3496, allocations: 52.73 kB / 465.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.3501, allocations: 233.9 kB / 465.7 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3501, allocations: 21.03 kB / 465.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.3502, allocations: 24.38 kB / 465.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.3507, allocations: 343.7 kB / 466 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3507, allocations: 3.938 kB / 466 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.3507, allocations: 12 kB / 466.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3507, allocations: 8 kB / 466.1 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3511, allocations: 213.8 kB / 466.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.3637, allocations: 4.653 MB / 470.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.3641, allocations: 182.5 kB / 471.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3642, allocations: 76.84 kB / 471.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.3743, allocations: 2.672 MB / 473.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.3743, allocations: 34.56 kB / 473.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.3743, allocations: 0 / 473.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006264/0.3806, allocations: 1.271 MB / 475.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3807, allocations: 55.34 kB / 475.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.381, allocations: 253.9 kB / 475.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.381, allocations: 33.7 kB / 475.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3812, allocations: 196.4 kB / 475.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.3812, allocations: 103.1 kB / 475.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.3813, allocations: 65.64 kB / 475.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3815, allocations: 334.8 kB / 476.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3817, allocations: 99.73 kB / 476.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.3819, allocations: 183.1 kB / 476.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.3824, allocations: 295 kB / 476.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3824, allocations: 7.938 kB / 476.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00075/0.3831, allocations: 398.8 kB / 477.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3831, allocations: 4 kB / 477.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3831, allocations: 4.375 kB / 477.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/0.3873, allocations: 0.9381 MB / 478.1 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.3876, allocations: 67.91 kB / 478.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.3895, allocations: 1.871 MB / 480 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3897, allocations: 12 kB / 480 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.3897, allocations: 12 kB / 480 MB, free: 5.762 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.000261/0.39, allocations: 157.8 kB / 480.2 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.3901, allocations: 27.8 kB / 480.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00082/0.3909, allocations: 498.3 kB / 480.7 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3909, allocations: 4 kB / 480.7 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3909, allocations: 0 / 480.7 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007535/0.3917, allocations: 0.7372 MB / 481.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3932, allocations: 0.9333 MB / 482.4 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3932, allocations: 0 / 482.4 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.3934, allocations: 55.91 kB / 482.4 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.3952, allocations: 308.5 kB / 482.7 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3952, allocations: 8 kB / 482.7 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005694/0.3958, allocations: 0.6538 MB / 483.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3958, allocations: 0 / 483.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3968, allocations: 0.7445 MB / 484.1 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.3969, allocations: 31.78 kB / 484.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.3969, allocations: 4 kB / 484.2 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.3971, allocations: 8 kB / 484.2 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3972, allocations: 15.95 kB / 484.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3972, allocations: 12 kB / 484.2 MB, free: 1.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.3974, allocations: 189.1 kB / 484.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3974, allocations: 0 / 484.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007409/0.3981, allocations: 187.7 kB / 484.6 MB, free: 0.9883 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.0007219/0.3989, allocations: 274.8 kB / 484.9 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009176/0.3998, allocations: 443.1 kB / 485.3 MB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3998, allocations: 4 kB / 485.3 MB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.4003, allocations: 223.8 kB / 485.5 MB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000963/0.4013, allocations: 180 kB / 485.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.4028, allocations: 0.8289 MB / 486.5 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.4032, allocations: 0.776 MB / 487.3 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.4033, allocations: 35.42 kB / 487.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4033, allocations: 3.938 kB / 487.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of Templates: time 0.01459/0.4179, allocations: 8.462 MB / 495.8 MB, free: 5.715 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/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: 9.149546720087528]