Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.0008167/0.0008167, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003985/0.003985, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8574/0.8574, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.375e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2519/0.252, allocations: 124 MB / 422.5 MB, free: 2.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2533, allocations: 1.634 MB / 424.1 MB, free: 0.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2534, allocations: 7.938 kB / 424.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.254, allocations: 178.8 kB / 424.3 MB, free: 496 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.2543, allocations: 337.9 kB / 424.7 MB, free: 156 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.2549, allocations: 426 kB / 425.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.2555, allocations: 0.8521 MB / 425.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2557, allocations: 72.86 kB / 426 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004981/0.2562, allocations: 0.5063 MB / 426.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.2564, allocations: 307.2 kB / 426.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.2565, allocations: 32 kB / 426.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.2566, allocations: 119.7 kB / 427 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.2567, allocations: 107.7 kB / 427.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.2568, allocations: 143.7 kB / 427.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.2572, allocations: 0.5064 MB / 427.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.2572, allocations: 1.969 kB / 427.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2572, allocations: 0 / 427.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2572, allocations: 0 / 427.7 MB, free: 13.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005739/0.2578, allocations: 0.5169 MB / 428.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2578, allocations: 11.98 kB / 428.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.2579, allocations: 70.72 kB / 428.3 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.2581, allocations: 40.75 kB / 428.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.2584, allocations: 225.2 kB / 428.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2584, allocations: 20.88 kB / 428.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.2584, allocations: 24.38 kB / 428.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.2588, allocations: 0.5237 MB / 429.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2588, allocations: 384 / 429.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2589, allocations: 19.94 kB / 429.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.2589, allocations: 4 kB / 429.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.2594, allocations: 205.8 kB / 429.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2604, allocations: 0.9405 MB / 430.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.2607, allocations: 178.7 kB / 430.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.2608, allocations: 89.14 kB / 430.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.388e-05/0.2609, allocations: 19.98 kB / 430.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2609, allocations: 35.88 kB / 430.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.2609, allocations: 0 / 430.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.001519/0.2624, allocations: 0.819 MB / 431.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.2625, allocations: 55.39 kB / 431.5 MB, free: 9.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.2626, allocations: 265.8 kB / 431.7 MB, free: 8.785 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2627, allocations: 29.7 kB / 431.8 MB, free: 8.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.2627, allocations: 176.6 kB / 431.9 MB, free: 8.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.2628, allocations: 99.16 kB / 432 MB, free: 8.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.2629, allocations: 65.69 kB / 432.1 MB, free: 8.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.263, allocations: 334.8 kB / 432.4 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.27e-05/0.263, allocations: 79.97 kB / 432.5 MB, free: 7.992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2632, allocations: 175.8 kB / 432.7 MB, free: 7.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.2634, allocations: 287.8 kB / 433 MB, free: 7.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2634, allocations: 8 kB / 433 MB, free: 7.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000401/0.2638, allocations: 374.6 kB / 433.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2639, allocations: 4.406 kB / 433.3 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2639, allocations: 8 kB / 433.4 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.264, allocations: 41.64 kB / 433.4 MB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2642, allocations: 79.89 kB / 433.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.2657, allocations: 2.554 MB / 436 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.2658, allocations: 12 kB / 436 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.2658, allocations: 12 kB / 436.1 MB, free: 4.129 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.266, allocations: 153.7 kB / 436.2 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.266, allocations: 31.8 kB / 436.2 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007488/0.2668, allocations: 288.1 kB / 436.5 MB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2668, allocations: 4 kB / 436.5 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2668, allocations: 0 / 436.5 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003787/0.2671, allocations: 0.5397 MB / 437.1 MB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.2678, allocations: 0.6165 MB / 437.7 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2678, allocations: 0 / 437.7 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.268, allocations: 63.84 kB / 437.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.455e-05/0.268, allocations: 20.88 kB / 437.8 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.268, allocations: 4 kB / 437.8 MB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005551/0.2686, allocations: 1.268 MB / 439 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2686, allocations: 0.875 kB / 439 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.269, allocations: 446.7 kB / 439.5 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.269, allocations: 23.81 kB / 439.5 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.269, allocations: 4 kB / 439.5 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.2691, allocations: 11.94 kB / 439.5 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.2692, allocations: 27.88 kB / 439.5 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2692, allocations: 15.98 kB / 439.5 MB, free: 336 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.2693, allocations: 185.2 kB / 439.7 MB, free: 152 kB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2693, allocations: 0 / 439.7 MB, free: 152 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000276/0.2696, allocations: 99.92 kB / 439.8 MB, free: 52 kB / 394.7 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007293/0.2703, allocations: 1.008 MB / 440.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.2708, allocations: 449.6 kB / 441.3 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2708, allocations: 256 / 441.3 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2709, allocations: 214.5 kB / 441.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.2714, allocations: 170.5 kB / 441.6 MB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.2742, allocations: 3.028 MB / 444.7 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.2743, allocations: 159.9 kB / 444.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.2745, allocations: 66.8 kB / 444.9 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.2746, allocations: 88.47 kB / 445 MB, free: 10.63 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2746, allocations: 0 / 445 MB, free: 10.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.2992, allocations: 10.55 MB / 455.5 MB, free: 20 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.414, allocations: 3.906 kB / 455.5 MB, free: 16 kB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_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_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: 10.105528822168708]