Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001359/0.001359, allocations: 108.6 kB / 21.18 MB, free: 0.7734 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.001569/0.001569, allocations: 189.4 kB / 24.47 MB, free: 4.18 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.43/1.43, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.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.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 39.94 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2935, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03999/0.3334, allocations: 37.9 MB / 461.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006047/0.3395, allocations: 4.607 MB / 466.4 MB, free: 4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.3399, allocations: 11.94 kB / 466.4 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009025/0.3408, allocations: 306.1 kB / 466.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009723/0.3417, allocations: 493.3 kB / 467.2 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.3464, allocations: 1.638 MB / 468.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.3482, allocations: 1.3 MB / 470.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.3484, allocations: 130.9 kB / 470.3 MB, free: 128 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000745/0.3492, allocations: 486.5 kB / 470.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.3498, allocations: 430.3 kB / 471.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/0.3499, allocations: 48 kB / 471.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.3522, allocations: 0.761 MB / 472 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.3523, allocations: 143.5 kB / 472.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.3527, allocations: 278.9 kB / 472.4 MB, free: 14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.3543, allocations: 1.055 MB / 473.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3543, allocations: 0 / 473.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3543, allocations: 0 / 473.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3543, allocations: 4 kB / 473.4 MB, free: 12.94 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.001236/0.3556, allocations: 0.7036 MB / 474.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3556, allocations: 8.922 kB / 474.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/0.3562, allocations: 88.62 kB / 474.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.3567, allocations: 281.7 kB / 474.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.3567, allocations: 29.38 kB / 474.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.3568, allocations: 40.38 kB / 474.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007177/0.3575, allocations: 479.6 kB / 475 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3575, allocations: 0 / 475 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.3575, allocations: 16 kB / 475.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3576, allocations: 12 kB / 475.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.358, allocations: 315.6 kB / 475.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.3719, allocations: 5.48 MB / 480.9 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.3724, allocations: 254.5 kB / 481.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.3726, allocations: 143.9 kB / 481.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.3829, allocations: 2.673 MB / 483.9 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.3829, allocations: 50.36 kB / 484 MB, free: 1.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.385e-06/0.3829, allocations: 0 / 484 MB, free: 1.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01197/0.3949, allocations: 2.311 MB / 486.3 MB, free: 15.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.395, allocations: 63.39 kB / 486.3 MB, free: 15.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.3954, allocations: 300.5 kB / 486.6 MB, free: 15.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.3954, allocations: 37.69 kB / 486.7 MB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3956, allocations: 224.5 kB / 486.9 MB, free: 15.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.3958, allocations: 166.6 kB / 487 MB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.3959, allocations: 102.3 kB / 487.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3961, allocations: 346.8 kB / 487.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.3964, allocations: 153.2 kB / 487.6 MB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.3968, allocations: 272.7 kB / 487.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000772/0.3976, allocations: 476.3 kB / 488.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3976, allocations: 0 / 488.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001213/0.3988, allocations: 0.5995 MB / 489 MB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3988, allocations: 15.69 kB / 489 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3988, allocations: 8 kB / 489 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008412/0.4072, allocations: 1.843 MB / 490.8 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.4077, allocations: 107.8 kB / 490.9 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.4102, allocations: 2.462 MB / 493.4 MB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.4105, allocations: 16 kB / 493.4 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.4106, allocations: 20 kB / 493.4 MB, free: 8.172 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.0003019/0.4109, allocations: 177.7 kB / 493.6 MB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.411, allocations: 39.77 kB / 493.6 MB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.4125, allocations: 0.8763 MB / 494.5 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.4125, allocations: 16.05 kB / 494.5 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4125, allocations: 0 / 494.5 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.4137, allocations: 0.9669 MB / 495.5 MB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.4161, allocations: 1.486 MB / 497 MB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4161, allocations: 4 kB / 497 MB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.4165, allocations: 83.92 kB / 497.1 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/0.42, allocations: 0.6257 MB / 497.7 MB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.4201, allocations: 15.94 kB / 497.7 MB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.4213, allocations: 1.296 MB / 499 MB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4213, allocations: 0 / 499 MB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4231, allocations: 1.254 MB / 0.4885 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4233, allocations: 47.69 kB / 0.4886 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.4234, allocations: 8 kB / 0.4886 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.4236, allocations: 15.94 kB / 0.4886 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.4237, allocations: 27.94 kB / 0.4886 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.4237, allocations: 16 kB / 0.4887 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.424, allocations: 211.1 kB / 0.4889 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.424, allocations: 4 kB / 0.4889 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008269/0.4248, allocations: 235.7 kB / 0.4891 GB, free: 0.5391 MB / 398.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.000742/0.4255, allocations: 274.9 kB / 0.4893 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.4271, allocations: 0.6795 MB / 0.49 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4271, allocations: 0 / 0.49 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.4281, allocations: 421.2 kB / 0.4904 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.4294, allocations: 240.8 kB / 0.4906 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.4318, allocations: 1.286 MB / 0.4919 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.4324, allocations: 0.8399 MB / 0.4927 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.4325, allocations: 47.44 kB / 0.4928 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4325, allocations: 0 / 0.4928 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.0202/0.4527, allocations: 13.04 MB / 0.5055 GB, free: 15.67 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.623867859132588]