Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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 4.0.0+maint.om/package.mo", uses=false) 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.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",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.00145/0.00145, allocations: 105.1 kB / 17.05 MB, free: 6.027 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.001685/0.001685, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009852/0.0009853, allocations: 47.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2472, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03462/0.2819, allocations: 37.44 MB / 437.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.2872, allocations: 4.576 MB / 442.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.2877, allocations: 4 kB / 442.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.2885, allocations: 290.2 kB / 442.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.2896, allocations: 481.3 kB / 443 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.2939, allocations: 1.65 MB / 444.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.2955, allocations: 1.273 MB / 445.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.2958, allocations: 170.6 kB / 446.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.2967, allocations: 478.4 kB / 446.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.2973, allocations: 410.4 kB / 447 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2974, allocations: 48 kB / 447 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.299, allocations: 0.7571 MB / 447.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.2992, allocations: 135.6 kB / 447.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.2996, allocations: 274.9 kB / 448.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.3011, allocations: 1.056 MB / 449.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3011, allocations: 0 / 449.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3011, allocations: 0 / 449.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3011, allocations: 0 / 449.2 MB, free: 7.625 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001204/0.3023, allocations: 0.772 MB / 450 MB, free: 6.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3024, allocations: 19.88 kB / 450 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.165e-05/0.3025, allocations: 78.72 kB / 450.1 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005793/0.3031, allocations: 72.44 kB / 450.2 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.3036, allocations: 343.4 kB / 450.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.3037, allocations: 29.38 kB / 450.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.3037, allocations: 44.28 kB / 450.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.3045, allocations: 471.5 kB / 451 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3045, allocations: 0 / 451 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.3046, allocations: 19.98 kB / 451.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3046, allocations: 15.94 kB / 451.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.3051, allocations: 303.7 kB / 451.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.3184, allocations: 6.738 MB / 458.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.3189, allocations: 270.5 kB / 458.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3191, allocations: 152.8 kB / 458.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.3294, allocations: 3.882 MB / 462.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3294, allocations: 42.42 kB / 462.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3294, allocations: 4 kB / 462.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01182/0.3413, allocations: 2.458 MB / 464.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3413, allocations: 55.41 kB / 465 MB, free: 6.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.3417, allocations: 311.1 kB / 465.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.3418, allocations: 29.7 kB / 465.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3419, allocations: 232 kB / 465.5 MB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3421, allocations: 161.6 kB / 465.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.3422, allocations: 94.25 kB / 465.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3423, allocations: 346.8 kB / 466.1 MB, free: 5.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.3426, allocations: 153.1 kB / 466.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.3429, allocations: 275.7 kB / 466.5 MB, free: 5.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.3435, allocations: 472.2 kB / 467 MB, free: 4.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3436, allocations: 4 kB / 467 MB, free: 4.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001052/0.3446, allocations: 0.5916 MB / 467.6 MB, free: 3.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3446, allocations: 8 kB / 467.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3447, allocations: 4 kB / 467.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008389/0.3531, allocations: 1.846 MB / 469.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.3535, allocations: 111.8 kB / 469.6 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.3557, allocations: 2.554 MB / 472.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.356, allocations: 12 kB / 472.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.3561, allocations: 23.98 kB / 472.1 MB, free: 15.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.3563, allocations: 189.7 kB / 472.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.894e-05/0.3564, allocations: 39.53 kB / 472.4 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.3576, allocations: 0.8551 MB / 473.2 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3576, allocations: 11.98 kB / 473.2 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3577, allocations: 0 / 473.2 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009767/0.3586, allocations: 0.9535 MB / 474.2 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.3606, allocations: 1.493 MB / 475.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3606, allocations: 0 / 475.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.3609, allocations: 83.89 kB / 475.8 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003442/0.3643, allocations: 0.6218 MB / 476.4 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.3644, allocations: 15.94 kB / 476.4 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009793/0.3654, allocations: 1.284 MB / 477.7 MB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3654, allocations: 3.938 kB / 477.7 MB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3669, allocations: 1.213 MB / 478.9 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.367, allocations: 120.5 kB / 479 MB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.3671, allocations: 12 kB / 479 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3674, allocations: 15.94 kB / 479 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.3674, allocations: 27.95 kB / 479.1 MB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.3675, allocations: 12 kB / 479.1 MB, free: 8.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.3677, allocations: 213.9 kB / 479.3 MB, free: 7.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3677, allocations: 0 / 479.3 MB, free: 7.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.3684, allocations: 231.9 kB / 479.5 MB, free: 7.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002309/0.3708, allocations: 1.936 MB / 481.5 MB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.372, allocations: 0.7065 MB / 482.2 MB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.372, allocations: 0 / 482.2 MB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009142/0.373, allocations: 428.2 kB / 482.6 MB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3741, allocations: 239.3 kB / 482.8 MB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/0.3801, allocations: 4.481 MB / 487.3 MB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.3806, allocations: 0.8399 MB / 488.1 MB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.3809, allocations: 72.34 kB / 488.2 MB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3811, allocations: 159.4 kB / 488.4 MB, free: 14.49 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3811, allocations: 0 / 488.4 MB, free: 14.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.4231, allocations: 17.57 MB / 0.4941 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.29, allocations: 8.406 kB / 0.4941 GB, free: 13.1 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches