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.001308/0.001308, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001419/0.001419, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.027 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 47.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.237, allocations: 53.35 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03056/0.2676, allocations: 27.43 MB / 459.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.2729, allocations: 4.206 MB / 463.6 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.2731, allocations: 7.938 kB / 463.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.2739, allocations: 206.7 kB / 463.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007238/0.2746, allocations: 338.1 kB / 464.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.2789, allocations: 1.485 MB / 465.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.2801, allocations: 0.899 MB / 466.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2803, allocations: 75.53 kB / 466.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006838/0.2872, allocations: 4.139 MB / 470.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.2876, allocations: 298.7 kB / 471 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.2877, allocations: 32 kB / 471 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.2891, allocations: 0.7298 MB / 471.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2893, allocations: 95.72 kB / 471.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.2895, allocations: 195.2 kB / 472 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.2907, allocations: 0.8531 MB / 472.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2907, allocations: 0 / 472.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2907, allocations: 0 / 472.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2907, allocations: 0 / 472.9 MB, free: 13.77 MB / 382.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.0009816/0.2917, allocations: 0.5867 MB / 473.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.2917, allocations: 12.03 kB / 473.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.255e-05/0.2918, allocations: 12.84 kB / 473.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.2918, allocations: 66.73 kB / 473.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.2923, allocations: 56.72 kB / 473.6 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2927, allocations: 226 kB / 473.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2927, allocations: 24.97 kB / 473.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.2928, allocations: 32.12 kB / 473.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.2933, allocations: 335.6 kB / 474.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2933, allocations: 4 kB / 474.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.2934, allocations: 12 kB / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.2934, allocations: 8 kB / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.2937, allocations: 217.7 kB / 474.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.3059, allocations: 4.66 MB / 479.1 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.3063, allocations: 170.7 kB / 479.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.3064, allocations: 80.83 kB / 479.4 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009968/0.3164, allocations: 2.684 MB / 482.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.3164, allocations: 30.56 kB / 482.1 MB, free: 4.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.504e-06/0.3164, allocations: 4 kB / 482.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006319/0.3227, allocations: 1.265 MB / 483.3 MB, free: 2.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3228, allocations: 55.41 kB / 483.4 MB, free: 2.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.3231, allocations: 261.9 kB / 483.7 MB, free: 2.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.3231, allocations: 33.7 kB / 483.7 MB, free: 2.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.3233, allocations: 192.4 kB / 483.9 MB, free: 2.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/0.3234, allocations: 99.16 kB / 484 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3235, allocations: 65.66 kB / 484 MB, free: 2.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3236, allocations: 338.8 kB / 484.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3238, allocations: 87.95 kB / 484.5 MB, free: 1.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3241, allocations: 186.9 kB / 484.6 MB, free: 1.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.3245, allocations: 307.7 kB / 484.9 MB, free: 1.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3245, allocations: 3.938 kB / 484.9 MB, free: 1.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007324/0.3252, allocations: 386.9 kB / 485.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3253, allocations: 6.719 kB / 485.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3253, allocations: 8 kB / 485.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004076/0.3293, allocations: 0.9329 MB / 486.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.3296, allocations: 71.84 kB / 486.3 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.3314, allocations: 1.874 MB / 488.2 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.3316, allocations: 8 kB / 488.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.3316, allocations: 19.98 kB / 488.2 MB, free: 13.78 MB / 398.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.0001937/0.3318, allocations: 157.8 kB / 488.4 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.3319, allocations: 35.75 kB / 488.4 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.3327, allocations: 0.4915 MB / 488.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3327, allocations: 4 kB / 488.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3327, allocations: 0 / 488.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007625/0.3334, allocations: 0.7316 MB / 489.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.3348, allocations: 0.9255 MB / 490.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3348, allocations: 0 / 490.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.335, allocations: 39.98 kB / 490.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/0.3367, allocations: 324.4 kB / 490.9 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3367, allocations: 8 kB / 490.9 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005631/0.3372, allocations: 0.65 MB / 491.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3372, allocations: 3.938 kB / 491.6 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3383, allocations: 0.7407 MB / 492.3 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.3383, allocations: 31.73 kB / 492.4 MB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.3384, allocations: 4 kB / 492.4 MB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3385, allocations: 8 kB / 492.4 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.3386, allocations: 15.97 kB / 492.4 MB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.3386, allocations: 11.98 kB / 492.4 MB, free: 9.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.3388, allocations: 185.2 kB / 492.6 MB, free: 9.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3388, allocations: 0 / 492.6 MB, free: 9.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006819/0.3395, allocations: 187.8 kB / 492.8 MB, free: 9.023 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.001819/0.3413, allocations: 1.445 MB / 494.2 MB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008417/0.3422, allocations: 450 kB / 494.7 MB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3422, allocations: 0 / 494.7 MB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.3427, allocations: 236.6 kB / 494.9 MB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/0.3436, allocations: 164.1 kB / 495.1 MB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.3484, allocations: 3.339 MB / 498.4 MB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.3489, allocations: 0.776 MB / 499.2 MB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.3492, allocations: 50.94 kB / 499.2 MB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3493, allocations: 107.4 kB / 499.3 MB, free: 2.238 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3493, allocations: 0 / 499.3 MB, free: 2.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04242/0.3917, allocations: 13.87 MB / 0.5012 GB, free: 4.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.16, allocations: 15 kB / 0.5012 GB, free: 4.543 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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: 17.983733948029112]