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.001915/0.001915, allocations: 112.8 kB / 17.06 MB, free: 5.973 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.001944/0.001945, allocations: 200 kB / 18.01 MB, free: 5.047 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 52.02 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2478, allocations: 49.42 MB / 400.2 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02831/0.2761, allocations: 27.04 MB / 427.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.2808, allocations: 4.159 MB / 431.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.2812, allocations: 4 kB / 431.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.2819, allocations: 202.7 kB / 431.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007721/0.2827, allocations: 342.1 kB / 432 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.2866, allocations: 1.481 MB / 433.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009959/0.2876, allocations: 0.8872 MB / 434.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.2878, allocations: 100.7 kB / 434.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005513/0.2933, allocations: 4.065 MB / 438.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.2937, allocations: 278.9 kB / 438.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.2938, allocations: 32 kB / 438.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.2951, allocations: 0.7259 MB / 439.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2952, allocations: 95.66 kB / 439.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.2955, allocations: 199.2 kB / 439.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.2966, allocations: 0.8453 MB / 440.7 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2966, allocations: 0 / 440.7 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2967, allocations: 0 / 440.7 MB, free: 368 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2967, allocations: 0 / 440.7 MB, free: 368 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.0009288/0.2976, allocations: 0.6542 MB / 441.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.2977, allocations: 15.97 kB / 441.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.046e-05/0.2977, allocations: 78.59 kB / 441.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.2982, allocations: 52.73 kB / 441.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.2986, allocations: 284.4 kB / 441.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2986, allocations: 20.94 kB / 441.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.2987, allocations: 28.38 kB / 441.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.2992, allocations: 342.4 kB / 442.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2992, allocations: 4 kB / 442.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.2992, allocations: 12 kB / 442.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2992, allocations: 4 kB / 442.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2996, allocations: 218 kB / 442.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.3117, allocations: 5.904 MB / 448.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.312, allocations: 178.5 kB / 448.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3122, allocations: 88.92 kB / 448.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.3222, allocations: 3.889 MB / 452.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.3223, allocations: 38.55 kB / 452.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.3223, allocations: 0 / 452.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006231/0.3285, allocations: 1.414 MB / 453.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3286, allocations: 51.41 kB / 453.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.3289, allocations: 258.6 kB / 454.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3289, allocations: 41.69 kB / 454.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.329, allocations: 192.4 kB / 454.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.3291, allocations: 99.16 kB / 454.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/0.3292, allocations: 61.7 kB / 454.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3293, allocations: 338.8 kB / 454.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3295, allocations: 99.73 kB / 455 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.3297, allocations: 186.8 kB / 455.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.3301, allocations: 307 kB / 455.5 MB, free: 420 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3301, allocations: 0 / 455.5 MB, free: 420 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006347/0.3307, allocations: 394.8 kB / 455.9 MB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3308, allocations: 12.31 kB / 455.9 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3308, allocations: 4.047 kB / 455.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004124/0.3349, allocations: 0.9397 MB / 456.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.3352, allocations: 63.91 kB / 456.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.3367, allocations: 1.978 MB / 458.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.337, allocations: 15.98 kB / 458.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.337, allocations: 12 kB / 458.9 MB, free: 12.82 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.0001857/0.3372, allocations: 166 kB / 459 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.3373, allocations: 27.86 kB / 459.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/0.338, allocations: 487.5 kB / 459.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.338, allocations: 4 kB / 459.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.338, allocations: 0 / 459.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006391/0.3387, allocations: 0.7278 MB / 460.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3399, allocations: 0.9497 MB / 461.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.34, allocations: 4 kB / 461.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.3402, allocations: 47.91 kB / 461.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.3418, allocations: 312.5 kB / 461.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.3419, allocations: 4 kB / 461.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004707/0.3423, allocations: 0.6577 MB / 462.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3424, allocations: 0 / 462.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.3433, allocations: 0.7366 MB / 463 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/0.3434, allocations: 97 kB / 463.1 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.3434, allocations: 8 kB / 463.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3436, allocations: 4 kB / 463.1 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3437, allocations: 19.97 kB / 463.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3437, allocations: 11.98 kB / 463.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.3439, allocations: 189.9 kB / 463.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3439, allocations: 0 / 463.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006912/0.3446, allocations: 191.7 kB / 463.5 MB, free: 7.969 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.001685/0.3463, allocations: 1.413 MB / 464.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.3471, allocations: 471.2 kB / 465.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.3471, allocations: 0 / 465.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.3476, allocations: 240.4 kB / 465.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.3485, allocations: 172.2 kB / 465.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.3528, allocations: 3.328 MB / 469.1 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3532, allocations: 0.7837 MB / 469.9 MB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.3534, allocations: 50.92 kB / 469.9 MB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3535, allocations: 103.4 kB / 470 MB, free: 1.188 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3535, allocations: 0 / 470 MB, free: 1.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.391, allocations: 13.43 MB / 483.5 MB, free: 3.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.13, allocations: 14.98 kB / 483.5 MB, free: 3.91 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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