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.001286/0.001286, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.00136/0.00136, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.001484/0.001484, allocations: 47.92 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2556, allocations: 53.35 MB / 431.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02767/0.2832, allocations: 24.54 MB / 456.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.288, allocations: 3.774 MB / 460.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.2882, allocations: 4 kB / 460.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.2888, allocations: 190.7 kB / 460.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006644/0.2895, allocations: 342.1 kB / 460.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.2932, allocations: 1.47 MB / 462.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.2943, allocations: 0.9068 MB / 463.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2945, allocations: 68.91 kB / 463.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006338/0.3008, allocations: 4.143 MB / 467.3 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.3012, allocations: 290.9 kB / 467.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.3013, allocations: 35.94 kB / 467.6 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.3026, allocations: 0.722 MB / 468.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3027, allocations: 99.64 kB / 468.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.3029, allocations: 171.4 kB / 468.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.3041, allocations: 0.8453 MB / 469.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3041, allocations: 4 kB / 469.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3041, allocations: 0 / 469.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3041, allocations: 7.938 kB / 469.4 MB, free: 0.9531 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.0009244/0.305, allocations: 0.5828 MB / 470 MB, free: 348 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.305, allocations: 8.031 kB / 470 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.808e-05/0.3051, allocations: 8.844 kB / 470 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.3051, allocations: 58.73 kB / 470.1 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004328/0.3056, allocations: 60.72 kB / 470.2 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.306, allocations: 230 kB / 470.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.306, allocations: 21.03 kB / 470.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.3061, allocations: 32.06 kB / 470.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.3067, allocations: 493.8 kB / 470.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3068, allocations: 0 / 470.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.3068, allocations: 15.94 kB / 470.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3068, allocations: 8 kB / 470.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.3071, allocations: 205.8 kB / 471.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.3196, allocations: 4.148 MB / 475.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3199, allocations: 166.6 kB / 475.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3201, allocations: 80.84 kB / 475.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.3305, allocations: 2.684 MB / 478.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3306, allocations: 38.56 kB / 478.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.3306, allocations: 0 / 478.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006272/0.3368, allocations: 1.282 MB / 479.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3369, allocations: 51.41 kB / 479.6 MB, free: 6.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.3372, allocations: 257.9 kB / 479.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.3372, allocations: 33.7 kB / 479.9 MB, free: 6.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3374, allocations: 188.4 kB / 480.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.3374, allocations: 99.16 kB / 480.2 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3375, allocations: 69.66 kB / 480.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3377, allocations: 342.8 kB / 480.6 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3379, allocations: 87.91 kB / 480.6 MB, free: 5.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.3381, allocations: 190.9 kB / 480.8 MB, free: 5.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.3385, allocations: 303.7 kB / 481.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3385, allocations: 3.938 kB / 481.1 MB, free: 4.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006791/0.3392, allocations: 387 kB / 481.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3393, allocations: 8 kB / 481.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3393, allocations: 4 kB / 481.5 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004299/0.3436, allocations: 0.9392 MB / 482.5 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.3439, allocations: 67.89 kB / 482.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.3457, allocations: 1.874 MB / 484.4 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.3459, allocations: 8 kB / 484.4 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.346, allocations: 16 kB / 484.4 MB, free: 1.418 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.0002127/0.3462, allocations: 161.6 kB / 484.6 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.3463, allocations: 31.81 kB / 484.6 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.3471, allocations: 0.4915 MB / 485.1 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3471, allocations: 7.984 kB / 485.1 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.3471, allocations: 4.062 kB / 485.1 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000769/0.3478, allocations: 0.7199 MB / 485.8 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.3492, allocations: 0.8866 MB / 486.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3492, allocations: 0 / 486.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3494, allocations: 43.92 kB / 486.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.3511, allocations: 320.5 kB / 487.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.3512, allocations: 4 kB / 487.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005755/0.3517, allocations: 0.6616 MB / 487.7 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3517, allocations: 0 / 487.7 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3527, allocations: 0.7329 MB / 488.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.3528, allocations: 31.77 kB / 488.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.3528, allocations: 8 kB / 488.5 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.353, allocations: 4 kB / 488.5 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.3531, allocations: 24 kB / 488.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3531, allocations: 16.11 kB / 488.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.3533, allocations: 181.2 kB / 488.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3533, allocations: 7.938 kB / 488.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006565/0.3539, allocations: 183.7 kB / 488.9 MB, free: 12.7 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.001783/0.3557, allocations: 1.445 MB / 490.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008144/0.3565, allocations: 450.7 kB / 490.8 MB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3565, allocations: 0 / 490.8 MB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.3571, allocations: 223.8 kB / 491 MB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008755/0.3579, allocations: 168.3 kB / 491.2 MB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.3622, allocations: 3.329 MB / 494.5 MB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.3624, allocations: 176.2 kB / 494.7 MB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.3626, allocations: 50.94 kB / 494.7 MB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3627, allocations: 99.34 kB / 494.8 MB, free: 6.547 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3627, allocations: 0 / 494.8 MB, free: 6.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/0.4033, allocations: 14.19 MB / 0.4971 GB, free: 8.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.31, allocations: 8 kB / 0.4971 GB, free: 8.609 MB / 414.1 MB " [Timeout remaining time 646] (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: 18.12053534691222]