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.001189/0.001189, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.00133/0.00133, allocations: 191.9 kB / 18.5 MB, free: 4.504 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.288/1.288, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001264/0.001264, allocations: 56.16 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07903/0.08031, allocations: 46.62 MB / 327.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02654/0.1069, allocations: 27.06 MB / 354.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.1115, allocations: 4.151 MB / 358.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.1118, allocations: 7.938 kB / 358.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.1125, allocations: 198.7 kB / 358.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.1131, allocations: 346.1 kB / 359.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.1167, allocations: 1.47 MB / 360.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008516/0.1176, allocations: 0.8873 MB / 361.5 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1178, allocations: 96.69 kB / 361.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005393/0.1232, allocations: 4.057 MB / 365.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.1236, allocations: 274.9 kB / 365.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.1236, allocations: 32 kB / 365.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1249, allocations: 0.7142 MB / 366.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.125, allocations: 103.7 kB / 366.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.1252, allocations: 195.2 kB / 366.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1263, allocations: 0.8379 MB / 367.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1263, allocations: 0 / 367.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1263, allocations: 0 / 367.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1263, allocations: 0 / 367.8 MB, free: 11.84 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.0008194/0.1271, allocations: 0.6471 MB / 368.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1272, allocations: 8.031 kB / 368.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.1272, allocations: 66.72 kB / 368.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.1276, allocations: 56.55 kB / 368.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.128, allocations: 295.6 kB / 368.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.128, allocations: 20.94 kB / 368.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.1281, allocations: 28.38 kB / 368.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.1285, allocations: 342.4 kB / 369.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.1285, allocations: 7.938 kB / 369.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1286, allocations: 12 kB / 369.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1286, allocations: 4 kB / 369.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1289, allocations: 218 kB / 369.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.1416, allocations: 5.916 MB / 375.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.142, allocations: 182.6 kB / 375.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1422, allocations: 88.83 kB / 375.6 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.144/0.2862, allocations: 3.879 MB / 379.5 MB, free: 58.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2863, allocations: 35.11 kB / 379.5 MB, free: 58.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.335e-06/0.2863, allocations: 0 / 379.5 MB, free: 58.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006383/0.2927, allocations: 1.414 MB / 381 MB, free: 57.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2927, allocations: 54.53 kB / 381 MB, free: 57.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.2931, allocations: 258 kB / 381.3 MB, free: 57.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2931, allocations: 30.23 kB / 381.3 MB, free: 57.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2932, allocations: 187.4 kB / 381.5 MB, free: 57.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.2933, allocations: 94.66 kB / 381.6 MB, free: 57.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2934, allocations: 66.91 kB / 381.6 MB, free: 57.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.2935, allocations: 340 kB / 382 MB, free: 56.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.2937, allocations: 91.97 kB / 382.1 MB, free: 56.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.2939, allocations: 191.2 kB / 382.2 MB, free: 56.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.2943, allocations: 299.1 kB / 382.5 MB, free: 56.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2943, allocations: 0.9688 kB / 382.5 MB, free: 56.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006805/0.295, allocations: 397.1 kB / 382.9 MB, free: 56.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.295, allocations: 6.922 kB / 382.9 MB, free: 56.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.295, allocations: 2.188 kB / 382.9 MB, free: 56.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/0.2991, allocations: 0.9404 MB / 383.9 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.2994, allocations: 73.86 kB / 383.9 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.3005, allocations: 1.98 MB / 385.9 MB, free: 54.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.3007, allocations: 15.56 kB / 385.9 MB, free: 54.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3008, allocations: 13.19 kB / 386 MB, free: 54.39 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.0001389/0.3009, allocations: 156.5 kB / 386.1 MB, free: 54.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.301, allocations: 26.56 kB / 386.1 MB, free: 54.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.3017, allocations: 495.1 kB / 386.6 MB, free: 54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3017, allocations: 9.203 kB / 386.6 MB, free: 53.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3017, allocations: 0 / 386.6 MB, free: 53.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005299/0.3022, allocations: 0.7202 MB / 387.3 MB, free: 53.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3033, allocations: 0.9443 MB / 388.3 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3034, allocations: 1.062 kB / 388.3 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.3036, allocations: 54.66 kB / 388.3 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.3052, allocations: 317.8 kB / 388.7 MB, free: 52.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3052, allocations: 8.609 kB / 388.7 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003407/0.3056, allocations: 0.642 MB / 389.3 MB, free: 52.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3056, allocations: 3.938 kB / 389.3 MB, free: 52.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007849/0.3064, allocations: 0.7226 MB / 390 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.3065, allocations: 103 kB / 390.1 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.3065, allocations: 11.09 kB / 390.1 MB, free: 51.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3067, allocations: 9.766 kB / 390.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3067, allocations: 18.81 kB / 390.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.3068, allocations: 13.3 kB / 390.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.3069, allocations: 182.9 kB / 390.4 MB, free: 51.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3069, allocations: 0 / 390.4 MB, free: 51.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.3075, allocations: 186.6 kB / 390.5 MB, free: 51.46 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.001399/0.3089, allocations: 1.429 MB / 392 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.3097, allocations: 463.2 kB / 392.4 MB, free: 50.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3097, allocations: 1.25 kB / 392.4 MB, free: 50.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.3102, allocations: 229.6 kB / 392.7 MB, free: 50.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008983/0.3111, allocations: 174.5 kB / 392.8 MB, free: 50.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.3145, allocations: 3.348 MB / 396.2 MB, free: 47.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3147, allocations: 0.7731 MB / 396.9 MB, free: 47.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.315, allocations: 44.36 kB / 397 MB, free: 47.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3151, allocations: 102.6 kB / 397.1 MB, free: 47.05 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3151, allocations: 4 kB / 397.1 MB, free: 47.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.372/2.687, allocations: 13.3 MB / 410.4 MB, free: 35.6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/19.31, allocations: 0 / 410.4 MB, free: 35.6 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches