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.001827/0.001827, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001577/0.001577, allocations: 209.8 kB / 23.73 MB, free: 4.523 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001558/0.001558, allocations: 48.06 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2366, allocations: 53.37 MB / 431.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02789/0.2645, allocations: 24.55 MB / 455.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004997/0.2695, allocations: 3.778 MB / 459.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2697, allocations: 4 kB / 459.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.2704, allocations: 198.7 kB / 459.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.2711, allocations: 338.1 kB / 459.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.2749, allocations: 1.458 MB / 461.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.276, allocations: 0.9068 MB / 462.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.2761, allocations: 68.89 kB / 462.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006147/0.2823, allocations: 4.143 MB / 466.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2827, allocations: 290.9 kB / 466.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.2827, allocations: 32 kB / 466.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.284, allocations: 0.7298 MB / 467.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2841, allocations: 103.6 kB / 467.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.2843, allocations: 163.5 kB / 467.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.2854, allocations: 0.853 MB / 468.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2854, allocations: 0 / 468.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2854, allocations: 4 kB / 468.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2854, allocations: 0 / 468.7 MB, free: 1.188 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.0009133/0.2864, allocations: 0.5866 MB / 469.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2864, allocations: 8.031 kB / 469.3 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.023e-05/0.2865, allocations: 66.72 kB / 469.3 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.2869, allocations: 60.73 kB / 469.4 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.2874, allocations: 222 kB / 469.6 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.2874, allocations: 25.02 kB / 469.6 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.2874, allocations: 28.38 kB / 469.7 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.288, allocations: 497.7 kB / 470.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2881, allocations: 0 / 470.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.2881, allocations: 12 kB / 470.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2881, allocations: 12 kB / 470.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.2884, allocations: 209.8 kB / 470.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.3002, allocations: 4.137 MB / 474.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3005, allocations: 178.5 kB / 474.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3006, allocations: 80.78 kB / 474.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009656/0.3103, allocations: 2.68 MB / 477.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.3103, allocations: 38.56 kB / 477.5 MB, free: 8.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.3103, allocations: 4 kB / 477.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006112/0.3164, allocations: 1.264 MB / 478.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3165, allocations: 55.41 kB / 478.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.3168, allocations: 265.8 kB / 479.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3168, allocations: 33.7 kB / 479.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.317, allocations: 184.4 kB / 479.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/0.3171, allocations: 103.2 kB / 479.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3172, allocations: 61.7 kB / 479.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3174, allocations: 338.8 kB / 479.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.3175, allocations: 91.97 kB / 479.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.3178, allocations: 190.8 kB / 480.1 MB, free: 5.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.3182, allocations: 307.7 kB / 480.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3182, allocations: 0 / 480.4 MB, free: 5.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007044/0.3189, allocations: 398.8 kB / 480.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3189, allocations: 8 kB / 480.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3189, allocations: 0 / 480.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003947/0.3229, allocations: 0.938 MB / 481.7 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3232, allocations: 63.91 kB / 481.8 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.3249, allocations: 1.882 MB / 483.6 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3252, allocations: 12 kB / 483.7 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3252, allocations: 12 kB / 483.7 MB, free: 1.652 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.0002127/0.3254, allocations: 163.5 kB / 483.8 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.3255, allocations: 27.86 kB / 483.8 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000777/0.3263, allocations: 0.4956 MB / 484.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3263, allocations: 4 kB / 484.3 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.3263, allocations: 0 / 484.3 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007326/0.327, allocations: 0.7238 MB / 485.1 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.3284, allocations: 0.8865 MB / 486 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3284, allocations: 0 / 486 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.3285, allocations: 39.92 kB / 486 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.3302, allocations: 324.5 kB / 486.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3302, allocations: 11.94 kB / 486.3 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005395/0.3307, allocations: 0.6499 MB / 487 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.3307, allocations: 8.031 kB / 487 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/0.3317, allocations: 0.729 MB / 487.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.3318, allocations: 31.83 kB / 487.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.3318, allocations: 4.125 kB / 487.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.332, allocations: 8 kB / 487.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.332, allocations: 23.91 kB / 487.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.332, allocations: 7.984 kB / 487.8 MB, free: 13.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.3322, allocations: 185.2 kB / 488 MB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3322, allocations: 0 / 488 MB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007087/0.3329, allocations: 191.6 kB / 488.2 MB, free: 12.93 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.001815/0.3348, allocations: 1.449 MB / 489.6 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008529/0.3356, allocations: 450 kB / 490 MB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3356, allocations: 0 / 490 MB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.3361, allocations: 224.7 kB / 490.3 MB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/0.3371, allocations: 160.2 kB / 490.4 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.3414, allocations: 3.339 MB / 493.8 MB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.3416, allocations: 172.2 kB / 493.9 MB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.3418, allocations: 46.95 kB / 494 MB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.342, allocations: 107.4 kB / 494.1 MB, free: 6.781 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.342, allocations: 0 / 494.1 MB, free: 6.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/0.4068, allocations: 14.57 MB / 0.4967 GB, free: 8.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.16, allocations: 14.39 kB / 0.4967 GB, free: 8.441 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: 16.270620983006665]