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.001154/0.001154, allocations: 105.1 kB / 17.06 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.001256/0.001256, allocations: 195 kB / 18 MB, free: 5.109 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.248/1.248, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009299/0.0009299, allocations: 47.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2463, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02463/0.271, allocations: 27.03 MB / 427.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.2754, allocations: 4.163 MB / 431.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.2757, allocations: 7.938 kB / 431.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.2763, allocations: 206.7 kB / 431.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.2769, allocations: 330.1 kB / 432 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.2806, allocations: 1.479 MB / 433.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.2816, allocations: 0.8834 MB / 434.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2818, allocations: 100.6 kB / 434.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006048/0.2878, allocations: 4.061 MB / 438.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.2883, allocations: 278.9 kB / 438.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.372e-05/0.2884, allocations: 32 kB / 438.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.2899, allocations: 0.7259 MB / 439.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.29, allocations: 95.72 kB / 439.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.2903, allocations: 195.2 kB / 439.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2916, allocations: 0.8456 MB / 440.6 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2916, allocations: 4 kB / 440.7 MB, free: 248 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2916, allocations: 0 / 440.7 MB, free: 248 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2917, allocations: 0 / 440.7 MB, free: 248 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.001008/0.2927, allocations: 0.6471 MB / 441.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2927, allocations: 12.03 kB / 441.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/0.2928, allocations: 62.72 kB / 441.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.2933, allocations: 64.53 kB / 441.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.2937, allocations: 288.2 kB / 441.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2937, allocations: 16.94 kB / 441.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.2938, allocations: 40.34 kB / 441.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.2943, allocations: 338.4 kB / 442.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.2943, allocations: 3.938 kB / 442.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.2943, allocations: 16 kB / 442.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.2943, allocations: 8 kB / 442.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.2947, allocations: 206 kB / 442.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.3072, allocations: 5.904 MB / 448.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.3075, allocations: 179.9 kB / 448.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3077, allocations: 88.83 kB / 448.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3182, allocations: 3.885 MB / 452.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3183, allocations: 38.56 kB / 452.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.3183, allocations: 0 / 452.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006016/0.3243, allocations: 1.42 MB / 453.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3244, allocations: 59.41 kB / 453.9 MB, free: 1.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.3246, allocations: 258.5 kB / 454.1 MB, free: 1.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3247, allocations: 29.7 kB / 454.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3248, allocations: 184.2 kB / 454.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.3249, allocations: 98.58 kB / 454.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.325, allocations: 69.59 kB / 454.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3251, allocations: 338.8 kB / 454.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3253, allocations: 91.75 kB / 454.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3255, allocations: 190.8 kB / 455.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.3259, allocations: 299 kB / 455.4 MB, free: 324 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3259, allocations: 4 kB / 455.4 MB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006626/0.3266, allocations: 390.9 kB / 455.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3266, allocations: 8 kB / 455.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3266, allocations: 4 kB / 455.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/0.3305, allocations: 0.9373 MB / 456.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.3308, allocations: 63.91 kB / 456.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.3323, allocations: 1.981 MB / 458.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3325, allocations: 12.16 kB / 458.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.3325, allocations: 16 kB / 458.8 MB, free: 12.73 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.0001657/0.3327, allocations: 165.8 kB / 459 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.3328, allocations: 31.7 kB / 459 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.3335, allocations: 483.4 kB / 459.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3335, allocations: 7.984 kB / 459.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3335, allocations: 0 / 459.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006465/0.3342, allocations: 0.7317 MB / 460.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.3354, allocations: 0.938 MB / 461.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3354, allocations: 0 / 461.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.3356, allocations: 51.91 kB / 461.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.3373, allocations: 312.4 kB / 461.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3373, allocations: 11.98 kB / 461.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004866/0.3378, allocations: 0.6382 MB / 462.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3378, allocations: 0 / 462.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/0.3387, allocations: 0.7403 MB / 462.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/0.3388, allocations: 104.8 kB / 463 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.3388, allocations: 8 kB / 463 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.339, allocations: 4 kB / 463 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.3391, allocations: 11.98 kB / 463 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3391, allocations: 19.92 kB / 463.1 MB, free: 8.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3393, allocations: 186 kB / 463.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3393, allocations: 3.938 kB / 463.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006129/0.3399, allocations: 187.9 kB / 463.4 MB, free: 7.883 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.001581/0.3415, allocations: 1.421 MB / 464.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007769/0.3423, allocations: 468 kB / 465.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3423, allocations: 0 / 465.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.3428, allocations: 243.5 kB / 465.5 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.3438, allocations: 168 kB / 465.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.3477, allocations: 3.318 MB / 469 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3481, allocations: 0.776 MB / 469.8 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.3483, allocations: 42.97 kB / 469.8 MB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3484, allocations: 107.4 kB / 470 MB, free: 1.125 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3484, allocations: 0 / 470 MB, free: 1.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3812, allocations: 13.57 MB / 483.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 3.984 kB / 483.5 MB, free: 3.719 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