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.001712/0.001712, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.002094/0.002094, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.476/1.476, allocations: 230.4 MB / 255.4 MB, free: 14.99 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.002248/0.002248, allocations: 71.81 kB / 374.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1055, allocations: 53.31 MB / 428.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2391/0.3446, allocations: 37.7 MB / 465.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00657/0.3512, allocations: 4.6 MB / 470.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.3518, allocations: 9.438 kB / 470.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3528, allocations: 297.7 kB / 470.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.3542, allocations: 492.4 kB / 471.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005491/0.3597, allocations: 1.641 MB / 472.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.3617, allocations: 1.272 MB / 474.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.3621, allocations: 126.4 kB / 474.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3632, allocations: 476.2 kB / 474.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009099/0.3641, allocations: 434.5 kB / 475.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.3642, allocations: 44.75 kB / 475.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3665, allocations: 0.7594 MB / 475.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.3668, allocations: 149.2 kB / 476 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006563/0.3675, allocations: 273.2 kB / 476.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.37, allocations: 1.055 MB / 477.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.37, allocations: 4 kB / 477.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.37, allocations: 0 / 477.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.37, allocations: 0 / 477.3 MB, free: 11.12 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.0018/0.3718, allocations: 0.7869 MB / 478.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3719, allocations: 9.562 kB / 478.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007157/0.3726, allocations: 77.81 kB / 478.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.3733, allocations: 340.9 kB / 478.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.3733, allocations: 37.22 kB / 478.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.3734, allocations: 37.94 kB / 478.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.3742, allocations: 479 kB / 479.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3743, allocations: 1.188 kB / 479.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.3743, allocations: 17.66 kB / 479.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3743, allocations: 11.91 kB / 479.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.3749, allocations: 310.9 kB / 479.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.3897, allocations: 6.74 MB / 486.2 MB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.3902, allocations: 260.1 kB / 486.4 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.3905, allocations: 145 kB / 486.6 MB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.4014, allocations: 3.877 MB / 490.4 MB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.4015, allocations: 41.31 kB / 490.5 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/0.4015, allocations: 0 / 490.5 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01251/0.414, allocations: 2.453 MB / 492.9 MB, free: 14.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.414, allocations: 63.34 kB / 493 MB, free: 14.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.4144, allocations: 303.3 kB / 493.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.4145, allocations: 33.7 kB / 493.3 MB, free: 14.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.4147, allocations: 232.5 kB / 493.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.4148, allocations: 166.6 kB / 493.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.415, allocations: 98.2 kB / 493.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4151, allocations: 350.7 kB / 494.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.4154, allocations: 153 kB / 494.3 MB, free: 13.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.4158, allocations: 277 kB / 494.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.4165, allocations: 476.3 kB / 495 MB, free: 12.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4165, allocations: 3.938 kB / 495 MB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00115/0.4177, allocations: 0.589 MB / 495.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4177, allocations: 12.41 kB / 495.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4177, allocations: 8 kB / 495.7 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00816/0.4259, allocations: 1.838 MB / 497.5 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.4264, allocations: 107.8 kB / 497.6 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.4288, allocations: 2.576 MB / 0.4884 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.4292, allocations: 12 kB / 0.4885 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.4292, allocations: 24 kB / 0.4885 GB, free: 7.094 MB / 398.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.0003015/0.4295, allocations: 185.6 kB / 0.4887 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4297, allocations: 39.77 kB / 0.4887 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.431, allocations: 0.8436 MB / 0.4895 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.431, allocations: 16.06 kB / 0.4895 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.431, allocations: 0 / 0.4895 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.4322, allocations: 0.9573 MB / 0.4905 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.4344, allocations: 1.482 MB / 0.4919 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4344, allocations: 0 / 0.4919 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.4348, allocations: 75.94 kB / 0.492 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/0.4382, allocations: 0.6179 MB / 0.4926 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.4383, allocations: 12 kB / 0.4926 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.4394, allocations: 1.286 MB / 0.4939 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4394, allocations: 0 / 0.4939 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.4411, allocations: 1.226 MB / 0.4951 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.4413, allocations: 121 kB / 0.4952 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.4414, allocations: 8 kB / 0.4952 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.4417, allocations: 15.94 kB / 0.4952 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.4418, allocations: 31.7 kB / 0.4952 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.4418, allocations: 19.98 kB / 0.4952 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.442, allocations: 209.9 kB / 0.4954 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.442, allocations: 4 kB / 0.4955 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009351/0.443, allocations: 235.7 kB / 0.4957 GB, free: 15.46 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.000813/0.4438, allocations: 265.6 kB / 0.4959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.4452, allocations: 0.6793 MB / 0.4966 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4452, allocations: 0 / 0.4966 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009544/0.4461, allocations: 424 kB / 0.497 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.4475, allocations: 242 kB / 0.4972 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4496, allocations: 1.273 MB / 0.4985 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.4502, allocations: 0.8402 MB / 0.4993 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.4503, allocations: 43.42 kB / 0.4993 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4503, allocations: 0 / 0.4993 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.01975/0.47, allocations: 13.04 MB / 0.5121 GB, free: 14.62 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.745911808917299]