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.001495/0.001495, allocations: 108.3 kB / 17.06 MB, free: 5.961 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.001631/0.001631, allocations: 200 kB / 18.01 MB, free: 5.039 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 43.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2245, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02843/0.253, allocations: 27.03 MB / 427.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.2579, allocations: 4.159 MB / 431.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.2581, allocations: 7.938 kB / 431.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.2587, allocations: 202.7 kB / 431.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.2594, allocations: 334.2 kB / 432 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.2631, allocations: 1.481 MB / 433.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009984/0.2641, allocations: 0.8872 MB / 434.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2643, allocations: 106.1 kB / 434.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005874/0.2702, allocations: 4.053 MB / 438.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.2706, allocations: 278.9 kB / 438.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.2706, allocations: 32 kB / 438.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.272, allocations: 0.7259 MB / 439.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2721, allocations: 95.72 kB / 439.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.2724, allocations: 203.2 kB / 439.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.2735, allocations: 0.8453 MB / 440.7 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2735, allocations: 0 / 440.7 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2735, allocations: 0 / 440.7 MB, free: 276 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2735, allocations: 0 / 440.7 MB, free: 276 kB / 350.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.0009455/0.2745, allocations: 0.6542 MB / 441.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2745, allocations: 12.03 kB / 441.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.732e-05/0.2746, allocations: 58.73 kB / 441.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.275, allocations: 64.66 kB / 441.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.2755, allocations: 296.3 kB / 441.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.2755, allocations: 24.94 kB / 441.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.2755, allocations: 24.38 kB / 441.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.276, allocations: 338.4 kB / 442.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2761, allocations: 0 / 442.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.2761, allocations: 19.94 kB / 442.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2761, allocations: 8 kB / 442.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.2765, allocations: 214 kB / 442.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.2891, allocations: 5.912 MB / 448.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.2894, allocations: 170.6 kB / 448.4 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.2896, allocations: 92.83 kB / 448.5 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.2998, allocations: 3.889 MB / 452.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.2999, allocations: 34.56 kB / 452.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.784e-06/0.2999, allocations: 0 / 452.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00606/0.306, allocations: 1.412 MB / 453.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.306, allocations: 55.41 kB / 453.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.3063, allocations: 258.6 kB / 454.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3064, allocations: 29.7 kB / 454.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3065, allocations: 200.4 kB / 454.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.3066, allocations: 103.2 kB / 454.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3067, allocations: 69.69 kB / 454.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3069, allocations: 330.8 kB / 454.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.3071, allocations: 95.75 kB / 455 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.3073, allocations: 190.9 kB / 455.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.3077, allocations: 291 kB / 455.4 MB, free: 340 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3077, allocations: 4 kB / 455.5 MB, free: 336 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000711/0.3085, allocations: 402.8 kB / 455.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3085, allocations: 4 kB / 455.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3085, allocations: 7.938 kB / 455.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/0.3124, allocations: 0.9298 MB / 456.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.3127, allocations: 75.84 kB / 456.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.3144, allocations: 1.974 MB / 458.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3146, allocations: 8.031 kB / 458.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3146, allocations: 16 kB / 458.9 MB, free: 12.75 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.0001825/0.3148, allocations: 170 kB / 459 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.3149, allocations: 23.86 kB / 459 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.3156, allocations: 491.5 kB / 459.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3157, allocations: 3.984 kB / 459.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3157, allocations: 0 / 459.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007215/0.3164, allocations: 0.7316 MB / 460.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3177, allocations: 0.9458 MB / 461.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3177, allocations: 48 / 461.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3179, allocations: 51.89 kB / 461.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.3196, allocations: 316.5 kB / 461.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3196, allocations: 11.98 kB / 461.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/0.3202, allocations: 0.6421 MB / 462.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3202, allocations: 0 / 462.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.3212, allocations: 0.7288 MB / 462.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.3212, allocations: 109.1 kB / 463.1 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3213, allocations: 8 kB / 463.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.3215, allocations: 4 kB / 463.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3215, allocations: 15.98 kB / 463.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3215, allocations: 7.984 kB / 463.1 MB, free: 8.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.3217, allocations: 190 kB / 463.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3217, allocations: 0 / 463.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006078/0.3223, allocations: 183.7 kB / 463.5 MB, free: 7.898 MB / 382.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.001713/0.3241, allocations: 1.425 MB / 464.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007944/0.3249, allocations: 467.8 kB / 465.3 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3249, allocations: 7.938 kB / 465.3 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.3254, allocations: 239.8 kB / 465.6 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.3264, allocations: 183.9 kB / 465.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.3306, allocations: 3.325 MB / 469.1 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.331, allocations: 0.7799 MB / 469.9 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.3312, allocations: 50.95 kB / 469.9 MB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3314, allocations: 103.4 kB / 470 MB, free: 1.102 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3314, allocations: 0 / 470 MB, free: 1.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04136/0.3727, allocations: 13.43 MB / 483.4 MB, free: 3.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.55, allocations: 11.91 kB / 483.5 MB, free: 3.828 MB / 398.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