Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001918/0.001918, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002487/0.002487, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 55.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1049, allocations: 53.38 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2179/0.3228, allocations: 27.23 MB / 453.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.3284, allocations: 4.179 MB / 457.8 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.3287, allocations: 8.375 kB / 457.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007698/0.3295, allocations: 207.5 kB / 458 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009064/0.3304, allocations: 350.8 kB / 458.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.3351, allocations: 1.482 MB / 459.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.3365, allocations: 0.8826 MB / 460.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3368, allocations: 74.95 kB / 460.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/0.3435, allocations: 4.08 MB / 464.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.3441, allocations: 291.5 kB / 465.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/0.3441, allocations: 30.81 kB / 465.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.346, allocations: 0.7259 MB / 465.9 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.3462, allocations: 101.1 kB / 466 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.3466, allocations: 189.7 kB / 466.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.3483, allocations: 0.8509 MB / 467 MB, free: 3.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3483, allocations: 1.062 kB / 467 MB, free: 3.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3483, allocations: 4 kB / 467 MB, free: 3.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3483, allocations: 0 / 467 MB, free: 3.066 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.001155/0.3495, allocations: 0.6618 MB / 467.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3495, allocations: 9.062 kB / 467.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.305e-05/0.3496, allocations: 64.17 kB / 467.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.3501, allocations: 61.97 kB / 467.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.3505, allocations: 290 kB / 468.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3506, allocations: 19.69 kB / 468.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.3506, allocations: 26.66 kB / 468.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.3512, allocations: 349.7 kB / 468.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3512, allocations: 1.156 kB / 468.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.3512, allocations: 11.31 kB / 468.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3512, allocations: 7 kB / 468.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.3516, allocations: 208.4 kB / 468.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.3654, allocations: 5.921 MB / 474.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.3657, allocations: 176.2 kB / 474.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3658, allocations: 82.34 kB / 474.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.3768, allocations: 3.886 MB / 478.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.3768, allocations: 35.81 kB / 478.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/0.3768, allocations: 0 / 478.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006501/0.3833, allocations: 1.415 MB / 480.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.3833, allocations: 55.16 kB / 480.3 MB, free: 9.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.3837, allocations: 261.7 kB / 480.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3837, allocations: 31.52 kB / 480.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3838, allocations: 187.7 kB / 480.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.3839, allocations: 95.14 kB / 480.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.384, allocations: 71.11 kB / 480.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3842, allocations: 336.7 kB / 481.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3844, allocations: 91.81 kB / 481.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.3846, allocations: 200 kB / 481.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.385, allocations: 303.7 kB / 481.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.385, allocations: 1.375 kB / 481.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007319/0.3858, allocations: 387.8 kB / 482.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3858, allocations: 7.938 kB / 482.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3858, allocations: 5.422 kB / 482.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/0.3901, allocations: 0.9408 MB / 483.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.3904, allocations: 67.91 kB / 483.2 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.3924, allocations: 1.98 MB / 485.2 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.3926, allocations: 8 kB / 485.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.3927, allocations: 16 kB / 485.2 MB, free: 4.559 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.0002289/0.3929, allocations: 157.7 kB / 485.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.393, allocations: 31.75 kB / 485.4 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.3938, allocations: 496.5 kB / 485.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.3938, allocations: 11.94 kB / 485.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.3938, allocations: 0 / 485.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007791/0.3946, allocations: 0.7085 MB / 486.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3961, allocations: 0.9463 MB / 487.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3961, allocations: 0 / 487.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3963, allocations: 51.95 kB / 487.6 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.3981, allocations: 316.3 kB / 487.9 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3981, allocations: 8 kB / 487.9 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006215/0.3987, allocations: 0.6524 MB / 488.6 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3987, allocations: 0 / 488.6 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3998, allocations: 0.7143 MB / 489.3 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3999, allocations: 104.9 kB / 489.4 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.4, allocations: 8 kB / 489.4 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.4002, allocations: 8.125 kB / 489.4 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.4002, allocations: 15.97 kB / 489.4 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.4002, allocations: 12 kB / 489.4 MB, free: 100 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.4004, allocations: 193.9 kB / 489.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4004, allocations: 0 / 489.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000784/0.4012, allocations: 187.7 kB / 489.8 MB, free: 15.73 MB / 398.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.001986/0.4032, allocations: 1.424 MB / 491.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009229/0.4041, allocations: 455 kB / 491.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4041, allocations: 3.938 kB / 491.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.4047, allocations: 216.7 kB / 491.9 MB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4057, allocations: 173.3 kB / 492.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.4105, allocations: 3.324 MB / 495.4 MB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.4109, allocations: 0.7838 MB / 496.2 MB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.4112, allocations: 57.47 kB / 496.2 MB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.4113, allocations: 99.41 kB / 496.3 MB, free: 8.98 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4113, allocations: 0 / 496.3 MB, free: 8.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/0.4556, allocations: 13.48 MB / 0.4979 GB, free: 11.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.61, allocations: 2.656 kB / 0.4979 GB, free: 11.6 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.812710679019801]