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.001703/0.001703, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002113/0.002113, allocations: 212 kB / 23.73 MB, free: 4.387 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001579/0.001579, allocations: 47.94 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2554, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02962/0.285, allocations: 24.56 MB / 455.7 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.2906, allocations: 3.77 MB / 459.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.2909, allocations: 7.938 kB / 459.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.2916, allocations: 190.8 kB / 459.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007359/0.2923, allocations: 342.1 kB / 459.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.2965, allocations: 1.462 MB / 461.4 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2975, allocations: 0.899 MB / 462.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.2977, allocations: 76.89 kB / 462.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006383/0.3041, allocations: 4.135 MB / 466.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.3045, allocations: 270.9 kB / 466.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.3046, allocations: 32 kB / 466.8 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.3059, allocations: 0.6985 MB / 467.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.306, allocations: 99.66 kB / 467.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.3062, allocations: 167.4 kB / 467.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.3075, allocations: 0.8531 MB / 468.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3075, allocations: 0 / 468.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3075, allocations: 0 / 468.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3075, allocations: 0 / 468.6 MB, free: 0.9883 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.0009916/0.3085, allocations: 0.5906 MB / 469.2 MB, free: 376 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3085, allocations: 12.03 kB / 469.2 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.3086, allocations: 62.67 kB / 469.3 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.309, allocations: 56.72 kB / 469.3 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.3095, allocations: 226.1 kB / 469.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3095, allocations: 25.03 kB / 469.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.3096, allocations: 28.38 kB / 469.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.3102, allocations: 497.7 kB / 470.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3102, allocations: 0 / 470.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.3103, allocations: 16 kB / 470.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3103, allocations: 8 kB / 470.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.3106, allocations: 209.7 kB / 470.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.3227, allocations: 4.141 MB / 474.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.3231, allocations: 162.7 kB / 474.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.3232, allocations: 84.77 kB / 474.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009773/0.333, allocations: 2.691 MB / 477.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.333, allocations: 34.55 kB / 477.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.333, allocations: 0 / 477.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00602/0.339, allocations: 1.27 MB / 478.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3391, allocations: 51.41 kB / 478.8 MB, free: 6.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.3394, allocations: 269.8 kB / 479 MB, free: 6.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3394, allocations: 29.7 kB / 479.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3395, allocations: 192.4 kB / 479.2 MB, free: 6.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.3396, allocations: 99.16 kB / 479.3 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.3397, allocations: 61.7 kB / 479.4 MB, free: 5.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3399, allocations: 338.8 kB / 479.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.34, allocations: 91.95 kB / 479.8 MB, free: 5.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3403, allocations: 186.9 kB / 480 MB, free: 5.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.3407, allocations: 311.7 kB / 480.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3407, allocations: 0 / 480.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006927/0.3414, allocations: 394.8 kB / 480.7 MB, free: 4.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3414, allocations: 8.312 kB / 480.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3414, allocations: 8 kB / 480.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.3454, allocations: 0.9302 MB / 481.6 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3456, allocations: 75.84 kB / 481.7 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.3473, allocations: 1.867 MB / 483.6 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3475, allocations: 8 kB / 483.6 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.3475, allocations: 16.22 kB / 483.6 MB, free: 1.457 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.0001781/0.3477, allocations: 157.7 kB / 483.8 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.3478, allocations: 23.86 kB / 483.8 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007727/0.3485, allocations: 0.4915 MB / 484.3 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.3485, allocations: 11.98 kB / 484.3 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3485, allocations: 3.938 kB / 484.3 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000752/0.3493, allocations: 0.7276 MB / 485 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.3506, allocations: 0.8826 MB / 485.9 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3506, allocations: 4.031 kB / 485.9 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.3508, allocations: 47.97 kB / 485.9 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.3525, allocations: 316.4 kB / 486.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.3525, allocations: 15.98 kB / 486.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000541/0.353, allocations: 0.6461 MB / 486.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.353, allocations: 4.062 kB / 486.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.354, allocations: 0.7407 MB / 487.7 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3541, allocations: 27.83 kB / 487.7 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.3541, allocations: 8 kB / 487.7 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3543, allocations: 4 kB / 487.7 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3543, allocations: 15.97 kB / 487.7 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3544, allocations: 12 kB / 487.7 MB, free: 13.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3546, allocations: 185.2 kB / 487.9 MB, free: 12.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3546, allocations: 0 / 487.9 MB, free: 12.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000626/0.3552, allocations: 191.7 kB / 488.1 MB, free: 12.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.001774/0.357, allocations: 1.445 MB / 489.5 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008057/0.3578, allocations: 446.8 kB / 490 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3578, allocations: 4 kB / 490 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.3583, allocations: 223.8 kB / 490.2 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.3592, allocations: 172.1 kB / 490.4 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.3636, allocations: 3.327 MB / 493.7 MB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.3637, allocations: 168.2 kB / 493.9 MB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.3639, allocations: 54.92 kB / 493.9 MB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3641, allocations: 103.4 kB / 494 MB, free: 6.582 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3641, allocations: 0 / 494 MB, free: 6.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04598/0.4101, allocations: 14.44 MB / 0.4965 GB, free: 8.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.33, allocations: 11.25 kB / 0.4966 GB, free: 8.379 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.508461814839393]