Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 187.1 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 47.92 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2255, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03195/0.2574, allocations: 27.35 MB / 450 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.2631, allocations: 4.202 MB / 454.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.2634, allocations: 4 kB / 454.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.2641, allocations: 210.7 kB / 454.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008188/0.2649, allocations: 342.1 kB / 454.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.269, allocations: 1.481 MB / 456.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.2703, allocations: 0.9106 MB / 457.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2705, allocations: 76.88 kB / 457.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007102/0.2776, allocations: 4.139 MB / 461.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.2782, allocations: 294.9 kB / 461.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.2783, allocations: 35.94 kB / 461.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.2799, allocations: 0.7298 MB / 462.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.2801, allocations: 95.61 kB / 462.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.2803, allocations: 199.2 kB / 462.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.2819, allocations: 0.8453 MB / 463.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2819, allocations: 4 kB / 463.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.2819, allocations: 4 kB / 463.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.282, allocations: 3.938 kB / 463.5 MB, free: 5.566 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.001096/0.2831, allocations: 0.5789 MB / 464.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2831, allocations: 8.031 kB / 464.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.396e-05/0.2832, allocations: 70.72 kB / 464.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.2837, allocations: 52.73 kB / 464.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.2842, allocations: 230 kB / 464.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2842, allocations: 24.97 kB / 464.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.2842, allocations: 28.38 kB / 464.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.2848, allocations: 343.5 kB / 464.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.2848, allocations: 4 kB / 464.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.2848, allocations: 12 kB / 464.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2849, allocations: 4 kB / 464.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.2852, allocations: 213.8 kB / 465.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.2985, allocations: 4.653 MB / 469.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.2988, allocations: 174.6 kB / 469.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.299, allocations: 80.03 kB / 470 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.3096, allocations: 2.68 MB / 472.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.3096, allocations: 38.56 kB / 472.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.525e-06/0.3096, allocations: 0 / 472.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006335/0.316, allocations: 1.26 MB / 474 MB, free: 10.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.316, allocations: 55.34 kB / 474 MB, free: 10.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.3163, allocations: 257.9 kB / 474.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.3163, allocations: 29.7 kB / 474.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3165, allocations: 196.4 kB / 474.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/0.3166, allocations: 99.16 kB / 474.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3167, allocations: 61.7 kB / 474.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3168, allocations: 338.8 kB / 475 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.317, allocations: 95.75 kB / 475.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3172, allocations: 187 kB / 475.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.3176, allocations: 299 kB / 475.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3176, allocations: 3.938 kB / 475.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007544/0.3184, allocations: 398.8 kB / 475.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3184, allocations: 4 kB / 475.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3184, allocations: 4 kB / 475.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004119/0.3226, allocations: 0.9384 MB / 476.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.3229, allocations: 71.84 kB / 477 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.3247, allocations: 1.882 MB / 478.8 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.3249, allocations: 8 kB / 478.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.3249, allocations: 16 kB / 478.9 MB, free: 5.609 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.0002027/0.3251, allocations: 149.7 kB / 479 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.3252, allocations: 27.86 kB / 479 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008034/0.326, allocations: 0.4951 MB / 479.5 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.326, allocations: 4 kB / 479.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.326, allocations: 3.984 kB / 479.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007748/0.3268, allocations: 0.7284 MB / 480.3 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.3283, allocations: 0.9333 MB / 481.2 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3283, allocations: 0 / 481.2 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3285, allocations: 51.94 kB / 481.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.3303, allocations: 312.5 kB / 481.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.3303, allocations: 8 kB / 481.6 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006111/0.3309, allocations: 0.6577 MB / 482.2 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3309, allocations: 0 / 482.2 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.332, allocations: 0.7328 MB / 482.9 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.3321, allocations: 31.78 kB / 483 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.3321, allocations: 4 kB / 483 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3323, allocations: 12.12 kB / 483 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3324, allocations: 23.89 kB / 483 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3324, allocations: 8 kB / 483 MB, free: 1.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.3326, allocations: 189.2 kB / 483.2 MB, free: 1.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3326, allocations: 0 / 483.2 MB, free: 1.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006908/0.3333, allocations: 183.7 kB / 483.4 MB, free: 0.8438 MB / 382.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.001921/0.3352, allocations: 1.446 MB / 484.8 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008998/0.3361, allocations: 451.1 kB / 485.3 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3361, allocations: 0 / 485.3 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.3367, allocations: 231.5 kB / 485.5 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/0.3376, allocations: 168.1 kB / 485.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.3424, allocations: 3.325 MB / 489 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.3428, allocations: 0.776 MB / 489.8 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.343, allocations: 54.92 kB / 489.8 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.3432, allocations: 103.4 kB / 489.9 MB, free: 10.07 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3432, allocations: 0 / 489.9 MB, free: 10.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/0.391, allocations: 13.85 MB / 0.492 GB, free: 12.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.96, allocations: 12.05 kB / 0.492 GB, free: 12.38 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.507151401834562]