Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2207/0.3232, allocations: 27.22 MB / 453.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.3287, allocations: 4.186 MB / 457.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.329, allocations: 8.188 kB / 457.7 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.3298, allocations: 210.9 kB / 457.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.3306, allocations: 342.1 kB / 458.3 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005087/0.3357, allocations: 1.478 MB / 459.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.337, allocations: 0.8895 MB / 460.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3372, allocations: 66.8 kB / 460.7 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006273/0.3435, allocations: 4.082 MB / 464.8 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.3439, allocations: 294.7 kB / 465.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.3439, allocations: 31.56 kB / 465.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.3456, allocations: 0.7248 MB / 465.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3457, allocations: 101.4 kB / 465.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.346, allocations: 190.7 kB / 466.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.3473, allocations: 0.8463 MB / 467 MB, free: 3.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3473, allocations: 5.281 kB / 467 MB, free: 3.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.3473, allocations: 3.984 kB / 467 MB, free: 3.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.3473, allocations: 0 / 467 MB, free: 3.27 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.001005/0.3483, allocations: 0.6626 MB / 467.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3483, allocations: 9.062 kB / 467.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.088e-05/0.3484, allocations: 65.3 kB / 467.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.3488, allocations: 57.75 kB / 467.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.3493, allocations: 293.8 kB / 468.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.3493, allocations: 20.72 kB / 468.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.3494, allocations: 30.03 kB / 468.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.3499, allocations: 338 kB / 468.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.35, allocations: 3.328 kB / 468.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.35, allocations: 11.78 kB / 468.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.35, allocations: 6.812 kB / 468.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.3503, allocations: 214.2 kB / 468.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.3637, allocations: 5.912 MB / 474.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.364, allocations: 176.2 kB / 474.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3641, allocations: 81.61 kB / 474.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.375, allocations: 3.891 MB / 478.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.3751, allocations: 37.16 kB / 478.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/0.3751, allocations: 0 / 478.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006656/0.3818, allocations: 1.412 MB / 480.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3818, allocations: 54.16 kB / 480.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.3821, allocations: 266.4 kB / 480.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3822, allocations: 36.39 kB / 480.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3823, allocations: 183.6 kB / 480.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.3824, allocations: 94.17 kB / 480.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3825, allocations: 75.77 kB / 480.9 MB, free: 8.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3826, allocations: 336.3 kB / 481.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3828, allocations: 90.66 kB / 481.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.383, allocations: 198.3 kB / 481.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.3835, allocations: 298.3 kB / 481.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3835, allocations: 1.219 kB / 481.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007392/0.3842, allocations: 393 kB / 482.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3842, allocations: 5.688 kB / 482.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3842, allocations: 4.531 kB / 482.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/0.3885, allocations: 0.9359 MB / 483.1 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3888, allocations: 67.91 kB / 483.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.3906, allocations: 1.982 MB / 485.1 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3908, allocations: 8 kB / 485.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.3909, allocations: 16 kB / 485.2 MB, free: 4.789 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.0001998/0.3911, allocations: 153.7 kB / 485.3 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.3911, allocations: 47.8 kB / 485.4 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.3919, allocations: 482.2 kB / 485.8 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.3919, allocations: 9.062 kB / 485.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3919, allocations: 0 / 485.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007116/0.3926, allocations: 0.7127 MB / 486.6 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.394, allocations: 0.9424 MB / 487.5 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.394, allocations: 4.031 kB / 487.5 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.3942, allocations: 43.97 kB / 487.5 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.3959, allocations: 316.3 kB / 487.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.3959, allocations: 11.98 kB / 487.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005481/0.3965, allocations: 0.6431 MB / 488.5 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3965, allocations: 3.984 kB / 488.5 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3975, allocations: 0.7218 MB / 489.2 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3976, allocations: 104.9 kB / 489.3 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.3977, allocations: 12.12 kB / 489.4 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3978, allocations: 4 kB / 489.4 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3979, allocations: 15.98 kB / 489.4 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3979, allocations: 11.98 kB / 489.4 MB, free: 336 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.3981, allocations: 190 kB / 489.6 MB, free: 148 kB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3981, allocations: 3.938 kB / 489.6 MB, free: 144 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007113/0.3988, allocations: 187.7 kB / 489.8 MB, free: 15.95 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.001793/0.4006, allocations: 1.431 MB / 491.2 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008623/0.4015, allocations: 454.8 kB / 491.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4015, allocations: 0 / 491.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.402, allocations: 220.3 kB / 491.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.4029, allocations: 172.6 kB / 492 MB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.4074, allocations: 3.329 MB / 495.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4078, allocations: 0.776 MB / 496.1 MB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000222/0.408, allocations: 54.8 kB / 496.2 MB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.4081, allocations: 103.4 kB / 496.3 MB, free: 9.219 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4081, allocations: 0 / 496.3 MB, free: 9.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.4512, allocations: 13.49 MB / 0.4978 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.64, allocations: 6.094 kB / 0.4978 GB, free: 11.89 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 15.786038816004293]