Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_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.001032/0.001032, allocations: 105.6 kB / 16.92 MB, free: 5.715 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.0009513/0.0009513, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.29/1.29, allocations: 222.9 MB / 241.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 45.73 kB / 300.7 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08188, allocations: 49.44 MB / 350.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1664/0.2483, allocations: 27.02 MB / 377.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.2521, allocations: 4.157 MB / 381.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.2523, allocations: 5.844 kB / 381.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.2529, allocations: 210.4 kB / 381.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.2535, allocations: 333.8 kB / 381.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.257, allocations: 1.474 MB / 383.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009185/0.258, allocations: 0.8851 MB / 384.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.2581, allocations: 105.8 kB / 384.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00563/0.2638, allocations: 4.044 MB / 388.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.2641, allocations: 277.8 kB / 388.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.2642, allocations: 31.12 kB / 388.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.2655, allocations: 0.7218 MB / 389.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.2656, allocations: 94.59 kB / 389.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.2658, allocations: 189.2 kB / 389.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000885/0.2667, allocations: 0.8531 MB / 390.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2667, allocations: 0 / 390.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2667, allocations: 1.25 kB / 390.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.2667, allocations: 3.938 kB / 390.5 MB, free: 7.5 MB / 302.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.0007037/0.2674, allocations: 0.6474 MB / 391.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2674, allocations: 9.719 kB / 391.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.2675, allocations: 64.11 kB / 391.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.2679, allocations: 64 kB / 391.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2682, allocations: 281.7 kB / 391.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2682, allocations: 19.41 kB / 391.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.2683, allocations: 28.62 kB / 391.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.2687, allocations: 345.2 kB / 392 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2687, allocations: 1.281 kB / 392 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2688, allocations: 16.48 kB / 392 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2688, allocations: 6.656 kB / 392 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2691, allocations: 208.4 kB / 392.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.2801, allocations: 5.93 MB / 398.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.2804, allocations: 177.2 kB / 398.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.2805, allocations: 92.58 kB / 398.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009332/0.2899, allocations: 3.883 MB / 402.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.2899, allocations: 36.31 kB / 402.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.2899, allocations: 0 / 402.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005839/0.2958, allocations: 1.404 MB / 403.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2958, allocations: 54.34 kB / 403.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.2961, allocations: 264 kB / 404 MB, free: 13.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.2961, allocations: 29.7 kB / 404.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2962, allocations: 191.2 kB / 404.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.2963, allocations: 88.77 kB / 404.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.73e-05/0.2964, allocations: 72.33 kB / 404.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.2965, allocations: 341.1 kB / 404.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2966, allocations: 91.14 kB / 404.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.2968, allocations: 184.3 kB / 405 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2972, allocations: 313.4 kB / 405.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2972, allocations: 0 / 405.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006231/0.2978, allocations: 394.7 kB / 405.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2978, allocations: 4 kB / 405.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2979, allocations: 4 kB / 405.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/0.3017, allocations: 0.9463 MB / 406.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3019, allocations: 63.91 kB / 406.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.3032, allocations: 1.982 MB / 408.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.3034, allocations: 12 kB / 408.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.3035, allocations: 15.98 kB / 408.7 MB, free: 8.898 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.0001398/0.3036, allocations: 161.6 kB / 408.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.3037, allocations: 31.72 kB / 408.9 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.3043, allocations: 491.7 kB / 409.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3043, allocations: 4 kB / 409.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3044, allocations: 0 / 409.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000583/0.3049, allocations: 0.7213 MB / 410.1 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.306, allocations: 0.9477 MB / 411.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3061, allocations: 4 kB / 411.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3062, allocations: 47.91 kB / 411.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.3079, allocations: 312.5 kB / 411.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3079, allocations: 7.984 kB / 411.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004196/0.3083, allocations: 0.6498 MB / 412.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3083, allocations: 0 / 412.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.3092, allocations: 0.7322 MB / 412.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.3092, allocations: 96.86 kB / 412.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.3093, allocations: 11.98 kB / 412.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3095, allocations: 4 kB / 412.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3095, allocations: 23.8 kB / 412.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3095, allocations: 15.98 kB / 413 MB, free: 4.426 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.3097, allocations: 186 kB / 413.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3097, allocations: 0 / 413.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000631/0.3103, allocations: 187.9 kB / 413.3 MB, free: 4.059 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.001472/0.3118, allocations: 1.424 MB / 414.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007394/0.3126, allocations: 458.4 kB / 415.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.3126, allocations: 4.734 kB / 415.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.313, allocations: 235.8 kB / 415.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.314, allocations: 180.3 kB / 415.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.3176, allocations: 3.328 MB / 418.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3178, allocations: 0.7801 MB / 419.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.3181, allocations: 50.94 kB / 419.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.3182, allocations: 103.4 kB / 419.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3182, allocations: 0 / 419.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.469/2.787, allocations: 13.3 MB / 433.2 MB, free: 148 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/14.34, allocations: 3.75 kB / 433.2 MB, free: 148 kB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches