Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.0009294/0.0009294, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00146/0.00146, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8829/0.8829, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.654e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03507/0.0351, allocations: 33.85 MB / 358.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004165/0.03926, allocations: 4.159 MB / 362.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.0396, allocations: 11.94 kB / 362.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.04031, allocations: 282.1 kB / 362.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008645/0.04117, allocations: 0.5045 MB / 363.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.0452, allocations: 1.668 MB / 365 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.04674, allocations: 1.291 MB / 366.3 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.04702, allocations: 111.1 kB / 366.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009381/0.04796, allocations: 0.6429 MB / 367.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.04844, allocations: 374.9 kB / 367.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.04851, allocations: 48 kB / 367.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.04984, allocations: 0.7334 MB / 368.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.04999, allocations: 143.5 kB / 368.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.05018, allocations: 203.7 kB / 368.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.05158, allocations: 1.181 MB / 369.8 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.05158, allocations: 0 / 369.8 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.05158, allocations: 0 / 369.8 MB, free: 2.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.0516, allocations: 0 / 369.8 MB, free: 2.582 MB / 330.7 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.001001/0.0526, allocations: 0.7106 MB / 370.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.05264, allocations: 12.03 kB / 370.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.05271, allocations: 78.7 kB / 370.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/0.05307, allocations: 80.62 kB / 370.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.05349, allocations: 281 kB / 370.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.05351, allocations: 29.38 kB / 370.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.05356, allocations: 40.38 kB / 371 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.05413, allocations: 0.6657 MB / 371.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.05415, allocations: 192 / 371.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.05418, allocations: 19.94 kB / 371.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.05419, allocations: 12 kB / 371.7 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.05451, allocations: 299.7 kB / 372 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006559/0.06107, allocations: 4.627 MB / 376.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.06143, allocations: 254.4 kB / 376.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.06157, allocations: 132.8 kB / 377 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004428/0.066, allocations: 2.68 MB / 379.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.06603, allocations: 38.5 kB / 379.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.225e-06/0.06603, allocations: 0 / 379.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.006111/0.07214, allocations: 2.328 MB / 382 MB, free: 6.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.07218, allocations: 55.41 kB / 382.1 MB, free: 5.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.07244, allocations: 312.3 kB / 382.4 MB, free: 5.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.07247, allocations: 33.7 kB / 382.4 MB, free: 5.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.07258, allocations: 224.5 kB / 382.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.07267, allocations: 170.5 kB / 382.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.07277, allocations: 102.3 kB / 382.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.07287, allocations: 342.8 kB / 383.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.07305, allocations: 153.2 kB / 383.4 MB, free: 4.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.07327, allocations: 276.7 kB / 383.7 MB, free: 4.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.07372, allocations: 477.3 kB / 384.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.07373, allocations: 4 kB / 384.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007267/0.07446, allocations: 0.5935 MB / 384.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.07448, allocations: 8 kB / 384.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.07448, allocations: 4 kB / 384.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/0.0782, allocations: 1.851 MB / 386.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.0785, allocations: 107.8 kB / 386.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.07999, allocations: 2.45 MB / 389.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.08023, allocations: 12 kB / 389.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.08026, allocations: 24 kB / 389.2 MB, free: 14.54 MB / 362.7 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.0002135/0.08048, allocations: 177.9 kB / 389.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.08053, allocations: 43.7 kB / 389.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008106/0.08134, allocations: 0.8653 MB / 390.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.08135, allocations: 15.98 kB / 390.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.08136, allocations: 0 / 390.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006738/0.08203, allocations: 0.9711 MB / 391.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.08345, allocations: 1.432 MB / 392.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.08346, allocations: 4 kB / 392.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.08363, allocations: 79.88 kB / 392.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.08518, allocations: 0.6179 MB / 393.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.08522, allocations: 12 kB / 393.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000667/0.08588, allocations: 1.304 MB / 394.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.08589, allocations: 0 / 394.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.08698, allocations: 1.243 MB / 395.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.08709, allocations: 47.69 kB / 396 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.08713, allocations: 16 kB / 396 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.08726, allocations: 8 kB / 396 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.08731, allocations: 31.88 kB / 396 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.08733, allocations: 20.05 kB / 396 MB, free: 7.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.08751, allocations: 215.1 kB / 396.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.08751, allocations: 0 / 396.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005827/0.0881, allocations: 227.8 kB / 396.5 MB, free: 6.98 MB / 362.7 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.00166/0.08976, allocations: 1.985 MB / 398.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.09066, allocations: 0.6761 MB / 399.1 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.09066, allocations: 4 kB / 399.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.09125, allocations: 428.7 kB / 399.6 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.09208, allocations: 231.5 kB / 399.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.09673, allocations: 4.41 MB / 404.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.09689, allocations: 233.1 kB / 404.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.09717, allocations: 72.33 kB / 404.5 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.09733, allocations: 160.4 kB / 404.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.09733, allocations: 0 / 404.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.1323, allocations: 18.61 MB / 423.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.526, allocations: 3.094 kB / 423.3 MB, free: 12.2 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_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_DryAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 11.01775844488293]