Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 115.3 kB / 21.17 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2491, allocations: 53.33 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0408/0.29, allocations: 37.96 MB / 470 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006101/0.2961, allocations: 4.619 MB / 474.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.2964, allocations: 11.94 kB / 474.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.2973, allocations: 294.1 kB / 474.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2984, allocations: 489.3 kB / 475.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.3029, allocations: 1.655 MB / 477.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.3046, allocations: 1.276 MB / 478.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.3049, allocations: 122.7 kB / 478.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.3056, allocations: 486.5 kB / 478.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.3062, allocations: 426.3 kB / 479.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.3063, allocations: 48 kB / 479.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.308, allocations: 0.7648 MB / 480.2 MB, free: 7.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.3081, allocations: 135.6 kB / 480.3 MB, free: 6.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.3084, allocations: 274.9 kB / 480.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3098, allocations: 1.059 MB / 481.6 MB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3098, allocations: 0 / 481.6 MB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3098, allocations: 0 / 481.6 MB, free: 5.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3098, allocations: 3.938 kB / 481.6 MB, free: 5.641 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001211/0.311, allocations: 0.7897 MB / 482.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3111, allocations: 12.92 kB / 482.4 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.3116, allocations: 76.62 kB / 482.5 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.3122, allocations: 347.5 kB / 482.9 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.3122, allocations: 37.31 kB / 482.9 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.3123, allocations: 40.38 kB / 482.9 MB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007149/0.313, allocations: 467.7 kB / 483.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.313, allocations: 4 kB / 483.4 MB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.3131, allocations: 19.98 kB / 483.4 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3131, allocations: 12 kB / 483.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.3136, allocations: 307.6 kB / 483.7 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.3275, allocations: 6.746 MB / 490.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.328, allocations: 254.5 kB / 490.7 MB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.3282, allocations: 144.8 kB / 490.9 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.3386, allocations: 3.889 MB / 494.7 MB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.3386, allocations: 35.16 kB / 494.8 MB, free: 7.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.555e-06/0.3386, allocations: 0 / 494.8 MB, free: 7.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01159/0.3502, allocations: 2.461 MB / 497.2 MB, free: 4.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3503, allocations: 59.41 kB / 497.3 MB, free: 4.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.3507, allocations: 299.3 kB / 497.6 MB, free: 4.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3507, allocations: 29.7 kB / 497.6 MB, free: 4.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3509, allocations: 240.4 kB / 497.9 MB, free: 4.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.351, allocations: 170.6 kB / 498 MB, free: 4.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3511, allocations: 94.2 kB / 498.1 MB, free: 4.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3513, allocations: 346.8 kB / 498.5 MB, free: 3.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.3516, allocations: 153.1 kB / 498.6 MB, free: 3.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3519, allocations: 279.7 kB / 498.9 MB, free: 3.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.3526, allocations: 472.2 kB / 499.3 MB, free: 2.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3526, allocations: 4 kB / 499.3 MB, free: 2.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001114/0.3537, allocations: 0.5879 MB / 499.9 MB, free: 2.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3538, allocations: 7.938 kB / 499.9 MB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3538, allocations: 4 kB / 499.9 MB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007744/0.3615, allocations: 1.851 MB / 0.49 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.362, allocations: 111.8 kB / 0.4901 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.3642, allocations: 2.564 MB / 0.4926 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3645, allocations: 12 kB / 0.4927 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3646, allocations: 23.98 kB / 0.4927 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.3648, allocations: 185.7 kB / 0.4929 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.3649, allocations: 39.77 kB / 0.4929 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.3662, allocations: 0.8552 MB / 0.4937 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3662, allocations: 11.98 kB / 0.4937 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3662, allocations: 0 / 0.4937 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/0.3673, allocations: 0.9574 MB / 0.4947 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.3693, allocations: 1.478 MB / 0.4961 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.3693, allocations: 0 / 0.4961 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.3696, allocations: 79.89 kB / 0.4962 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/0.3729, allocations: 0.6141 MB / 0.4968 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.373, allocations: 15.94 kB / 0.4968 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.374, allocations: 1.284 MB / 0.4981 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.374, allocations: 0 / 0.4981 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.3757, allocations: 1.221 MB / 0.4993 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3759, allocations: 129.1 kB / 0.4994 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.376, allocations: 8 kB / 0.4994 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3762, allocations: 11.94 kB / 0.4994 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.3763, allocations: 35.94 kB / 0.4994 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.3763, allocations: 16 kB / 0.4994 GB, free: 6.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.3765, allocations: 209.9 kB / 0.4996 GB, free: 5.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3765, allocations: 0 / 0.4996 GB, free: 5.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000776/0.3773, allocations: 239.6 kB / 0.4999 GB, free: 5.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000609/0.3779, allocations: 270.8 kB / 0.5001 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3792, allocations: 0.6789 MB / 0.5008 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3792, allocations: 0 / 0.5008 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.3802, allocations: 424.2 kB / 0.5012 GB, free: 4.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.3814, allocations: 236.7 kB / 0.5014 GB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3836, allocations: 1.277 MB / 0.5027 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.384, allocations: 0.8363 MB / 0.5035 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3841, allocations: 43.44 kB / 0.5035 GB, free: 1.855 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3841, allocations: 0 / 0.5035 GB, free: 1.855 MB / 414.1 MB Notification: Performance of Templates: time 0.01711/0.4013, allocations: 13.04 MB / 0.5163 GB, free: 4.828 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.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.203763369005173]