Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 109 kB / 17.15 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 47.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09983, allocations: 46.63 MB / 326.7 MB, free: 4.816 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03124/0.1311, allocations: 27.3 MB / 354 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.1363, allocations: 4.202 MB / 358.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.1367, allocations: 3.938 kB / 358.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007913/0.1375, allocations: 187 kB / 358.4 MB, free: 5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009854/0.1385, allocations: 326.4 kB / 358.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.1427, allocations: 1.238 MB / 359.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.1441, allocations: 1.34 MB / 361.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1443, allocations: 72.69 kB / 361.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007268/0.1515, allocations: 4.211 MB / 365.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.1519, allocations: 290.8 kB / 365.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.152, allocations: 16 kB / 365.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.1535, allocations: 0.7063 MB / 366.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1536, allocations: 79.7 kB / 366.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1539, allocations: 183.2 kB / 366.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1549, allocations: 0.8261 MB / 367.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1549, allocations: 0 / 367.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1549, allocations: 0 / 367.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.155, allocations: 0 / 367.6 MB, free: 11.71 MB / 318.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.0009956/0.156, allocations: 0.6433 MB / 368.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.156, allocations: 12.03 kB / 368.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.613e-05/0.1561, allocations: 62.72 kB / 368.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004252/0.1565, allocations: 60.55 kB / 368.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1569, allocations: 287.7 kB / 368.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1569, allocations: 20.94 kB / 368.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.157, allocations: 24.38 kB / 368.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.1575, allocations: 342.4 kB / 369.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1575, allocations: 4 kB / 369.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.1575, allocations: 12 kB / 369.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1576, allocations: 4 kB / 369.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.1579, allocations: 210 kB / 369.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.1707, allocations: 5.916 MB / 375.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.171, allocations: 182.5 kB / 375.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.1712, allocations: 84.92 kB / 375.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1719/0.3431, allocations: 3.872 MB / 379.4 MB, free: 58.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3432, allocations: 40.97 kB / 379.4 MB, free: 58.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.3432, allocations: 0 / 379.4 MB, free: 58.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006355/0.3495, allocations: 1.409 MB / 380.8 MB, free: 57.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.3496, allocations: 63.16 kB / 380.9 MB, free: 57.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.3498, allocations: 264 kB / 381.1 MB, free: 57.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3499, allocations: 34.2 kB / 381.2 MB, free: 57.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.35, allocations: 191.4 kB / 381.3 MB, free: 57.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.35, allocations: 91 kB / 381.4 MB, free: 57.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.3501, allocations: 61.56 kB / 381.5 MB, free: 57.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.3502, allocations: 339.6 kB / 381.8 MB, free: 56.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3504, allocations: 88.47 kB / 381.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3506, allocations: 188.8 kB / 382.1 MB, free: 56.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.3509, allocations: 306.2 kB / 382.4 MB, free: 56.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3509, allocations: 5.094 kB / 382.4 MB, free: 56.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005995/0.3515, allocations: 387.6 kB / 382.8 MB, free: 56.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3516, allocations: 9.859 kB / 382.8 MB, free: 56.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3516, allocations: 3.75 kB / 382.8 MB, free: 56.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004232/0.3558, allocations: 0.9391 MB / 383.7 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3561, allocations: 69.42 kB / 383.8 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.3573, allocations: 1.888 MB / 385.7 MB, free: 54.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.3576, allocations: 21.77 kB / 385.7 MB, free: 54.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3576, allocations: 20.72 kB / 385.7 MB, free: 54.49 MB / 318.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.0001639/0.3578, allocations: 155.4 kB / 385.9 MB, free: 54.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.3578, allocations: 26.61 kB / 385.9 MB, free: 54.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.3586, allocations: 498.5 kB / 386.4 MB, free: 54.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.3586, allocations: 8.125 kB / 386.4 MB, free: 54.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.3586, allocations: 0.6562 kB / 386.4 MB, free: 54.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005836/0.3592, allocations: 0.7194 MB / 387.1 MB, free: 53.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.3604, allocations: 0.9381 MB / 388.1 MB, free: 52.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3605, allocations: 5.328 kB / 388.1 MB, free: 52.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3607, allocations: 47.59 kB / 388.1 MB, free: 52.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.3624, allocations: 323.4 kB / 388.4 MB, free: 52.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3624, allocations: 7.859 kB / 388.4 MB, free: 52.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003883/0.3628, allocations: 0.6418 MB / 389.1 MB, free: 52.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3628, allocations: 1.156 kB / 389.1 MB, free: 52.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.3637, allocations: 0.7235 MB / 389.8 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.3638, allocations: 110.9 kB / 389.9 MB, free: 51.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.3638, allocations: 6.281 kB / 389.9 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.364, allocations: 8.844 kB / 389.9 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.3641, allocations: 19.33 kB / 389.9 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.3641, allocations: 17.22 kB / 390 MB, free: 51.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.3643, allocations: 187 kB / 390.1 MB, free: 51.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3643, allocations: 0 / 390.1 MB, free: 51.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006599/0.365, allocations: 189.9 kB / 390.3 MB, free: 51.58 MB / 318.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.001501/0.3665, allocations: 1.424 MB / 391.7 MB, free: 50.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.3672, allocations: 451.5 kB / 392.2 MB, free: 50.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3672, allocations: 1.219 kB / 392.2 MB, free: 50.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.3677, allocations: 232.4 kB / 392.4 MB, free: 50.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009145/0.3687, allocations: 163.8 kB / 392.6 MB, free: 50.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.3725, allocations: 3.472 MB / 396 MB, free: 47.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.3727, allocations: 0.7767 MB / 396.8 MB, free: 47.13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.3729, allocations: 49.17 kB / 396.9 MB, free: 47.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.373, allocations: 104.5 kB / 397 MB, free: 47.05 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.373, allocations: 1.375 kB / 397 MB, free: 47.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.3966, allocations: 12.86 MB / 409.8 MB, free: 36.07 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.3968, allocations: 218 kB / 410 MB, free: 35.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.52, allocations: 0 / 410 MB, free: 35.82 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches