Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001356/0.001356, allocations: 116.9 kB / 18.45 MB, free: 4.566 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.001526/0.001526, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.6 MB / 231.8 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 47.94 kB / 342.3 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1024, allocations: 49.12 MB / 391.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04114/0.1435, allocations: 37.63 MB / 429.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.1496, allocations: 4.591 MB / 433.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.1499, allocations: 7.938 kB / 433.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.1508, allocations: 298.2 kB / 433.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009458/0.1517, allocations: 485.3 kB / 434.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.1563, allocations: 1.653 MB / 436.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.1579, allocations: 1.276 MB / 437.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.1582, allocations: 122.7 kB / 437.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.1589, allocations: 490.4 kB / 438 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.1595, allocations: 434.3 kB / 438.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.1595, allocations: 44 kB / 438.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.1611, allocations: 0.7649 MB / 439.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.1613, allocations: 139.5 kB / 439.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.1616, allocations: 274.9 kB / 439.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.1631, allocations: 1.059 MB / 440.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1631, allocations: 4 kB / 440.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1631, allocations: 0 / 440.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1631, allocations: 0 / 440.7 MB, free: 7.277 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001278/0.1644, allocations: 0.7906 MB / 441.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1644, allocations: 11.89 kB / 441.5 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1645, allocations: 78.72 kB / 441.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.1651, allocations: 76.62 kB / 441.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.1657, allocations: 347.6 kB / 441.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1657, allocations: 29.38 kB / 442 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.1658, allocations: 48.31 kB / 442 MB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.1665, allocations: 471.4 kB / 442.5 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1665, allocations: 4 kB / 442.5 MB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.1666, allocations: 16 kB / 442.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1666, allocations: 12 kB / 442.5 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.1671, allocations: 303.7 kB / 442.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.1812, allocations: 6.731 MB / 449.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.1817, allocations: 258.5 kB / 449.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.182, allocations: 137.4 kB / 449.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.1927, allocations: 3.896 MB / 453.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.1928, allocations: 30.56 kB / 453.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.374e-06/0.1928, allocations: 0 / 453.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01218/0.205, allocations: 2.466 MB / 456.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.205, allocations: 63.41 kB / 456.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.2054, allocations: 299.2 kB / 456.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.2054, allocations: 37.64 kB / 456.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.2056, allocations: 240.5 kB / 456.9 MB, free: 5.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.2058, allocations: 166.6 kB / 457.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.2059, allocations: 94.2 kB / 457.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.2061, allocations: 346.8 kB / 457.5 MB, free: 5.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.2064, allocations: 157.1 kB / 457.7 MB, free: 5.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.2068, allocations: 279.7 kB / 458 MB, free: 4.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.2074, allocations: 468.3 kB / 458.4 MB, free: 4.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2074, allocations: 4 kB / 458.4 MB, free: 4.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001144/0.2086, allocations: 0.5918 MB / 459 MB, free: 3.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2086, allocations: 7.906 kB / 459 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.2086, allocations: 7.984 kB / 459 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008033/0.2167, allocations: 1.848 MB / 460.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.2171, allocations: 107.8 kB / 461 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1808/0.3979, allocations: 2.55 MB / 463.5 MB, free: 69.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3983, allocations: 14.3 kB / 463.5 MB, free: 69.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.3984, allocations: 22.09 kB / 463.6 MB, free: 69.46 MB / 382.1 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.0002587/0.3986, allocations: 183.5 kB / 463.7 MB, free: 69.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3987, allocations: 43.41 kB / 463.8 MB, free: 69.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.4002, allocations: 0.8433 MB / 464.6 MB, free: 69.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.4002, allocations: 11.47 kB / 464.6 MB, free: 69.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4002, allocations: 1.328 kB / 464.6 MB, free: 69.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.4013, allocations: 0.9594 MB / 465.6 MB, free: 68.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.4032, allocations: 1.489 MB / 467.1 MB, free: 68.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4032, allocations: 0.625 kB / 467.1 MB, free: 68.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.4035, allocations: 77.14 kB / 467.2 MB, free: 68.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/0.4068, allocations: 0.6209 MB / 467.8 MB, free: 68.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.4069, allocations: 14.64 kB / 467.8 MB, free: 68.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007644/0.4076, allocations: 1.288 MB / 469.1 MB, free: 66.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4076, allocations: 0 / 469.1 MB, free: 66.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.4092, allocations: 1.22 MB / 470.3 MB, free: 66.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.4093, allocations: 120 kB / 470.4 MB, free: 66.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.4093, allocations: 16.55 kB / 470.4 MB, free: 66.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.4096, allocations: 10.34 kB / 470.5 MB, free: 66.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.4096, allocations: 24.88 kB / 470.5 MB, free: 66.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.4097, allocations: 19.11 kB / 470.5 MB, free: 66.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.4099, allocations: 214.4 kB / 470.7 MB, free: 66.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4099, allocations: 0 / 470.7 MB, free: 66.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007969/0.4107, allocations: 228.8 kB / 470.9 MB, free: 66.07 MB / 382.1 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.002142/0.4128, allocations: 1.94 MB / 472.9 MB, free: 64.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.4141, allocations: 0.6689 MB / 473.5 MB, free: 64.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4141, allocations: 0 / 473.5 MB, free: 64.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.4149, allocations: 421.2 kB / 474 MB, free: 64.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.4162, allocations: 241 kB / 474.2 MB, free: 64.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.4215, allocations: 4.494 MB / 478.7 MB, free: 61.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.4218, allocations: 0.8311 MB / 479.5 MB, free: 60.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.4222, allocations: 69.81 kB / 479.6 MB, free: 60.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.4223, allocations: 162.6 kB / 479.7 MB, free: 60.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4223, allocations: 0 / 479.7 MB, free: 60.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04288/0.4652, allocations: 17.46 MB / 497.2 MB, free: 46.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.15, allocations: 11.94 kB / 497.2 MB, free: 46.26 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.592516677003005]