Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_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.001118/0.001118, allocations: 110.5 kB / 17.73 MB, free: 5.301 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.001166/0.001166, allocations: 187 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 51.94 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.08048, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2208/0.3013, allocations: 27.05 MB / 401.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004926/0.3062, allocations: 4.164 MB / 405.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.3065, allocations: 3.844 kB / 405.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007577/0.3074, allocations: 206.9 kB / 406.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007663/0.3081, allocations: 335.3 kB / 406.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.3131, allocations: 1.478 MB / 407.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3143, allocations: 0.8803 MB / 408.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.3145, allocations: 111 kB / 408.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/0.3206, allocations: 4.047 MB / 412.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.321, allocations: 279.7 kB / 413.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.321, allocations: 31.22 kB / 413.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.3227, allocations: 0.724 MB / 413.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.3228, allocations: 89.44 kB / 414 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.323, allocations: 198.5 kB / 414.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.3242, allocations: 0.8441 MB / 415.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3243, allocations: 3.984 kB / 415.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3243, allocations: 4 kB / 415.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3243, allocations: 0 / 415.1 MB, free: 4.723 MB / 334.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.0009361/0.3252, allocations: 0.6522 MB / 415.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3253, allocations: 10.12 kB / 415.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.397e-05/0.3254, allocations: 60.42 kB / 415.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000445/0.3258, allocations: 52.69 kB / 415.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3262, allocations: 298 kB / 416.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3263, allocations: 20.5 kB / 416.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.3263, allocations: 25.94 kB / 416.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.3268, allocations: 337.6 kB / 416.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3268, allocations: 8.906 kB / 416.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.3269, allocations: 11.81 kB / 416.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3269, allocations: 8 kB / 416.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.3272, allocations: 212.1 kB / 416.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.3395, allocations: 5.912 MB / 422.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.3399, allocations: 178.7 kB / 422.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.34, allocations: 88.39 kB / 422.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.3503, allocations: 3.888 MB / 426.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.3503, allocations: 34.56 kB / 426.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.165e-06/0.3504, allocations: 0 / 426.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006164/0.3565, allocations: 1.417 MB / 428.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.3566, allocations: 55.41 kB / 428.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.3569, allocations: 258.6 kB / 428.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3569, allocations: 29.7 kB / 428.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.357, allocations: 188 kB / 428.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.3571, allocations: 94.64 kB / 428.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.3572, allocations: 69.69 kB / 428.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3573, allocations: 338.8 kB / 429.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3575, allocations: 91.75 kB / 429.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3577, allocations: 190.9 kB / 429.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.3581, allocations: 299 kB / 429.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3582, allocations: 0 / 429.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006517/0.3588, allocations: 402.6 kB / 430.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3588, allocations: 4 kB / 430.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3589, allocations: 4 kB / 430.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/0.3628, allocations: 0.9381 MB / 431.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3631, allocations: 71.84 kB / 431.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3647, allocations: 1.979 MB / 433.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.365, allocations: 8 kB / 433.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.365, allocations: 16 kB / 433.3 MB, free: 4.043 MB / 350.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.0001775/0.3652, allocations: 153.8 kB / 433.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3653, allocations: 31.56 kB / 433.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.366, allocations: 498.7 kB / 433.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.366, allocations: 7.984 kB / 433.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.366, allocations: 0 / 433.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006702/0.3667, allocations: 0.7174 MB / 434.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.368, allocations: 0.9379 MB / 435.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.368, allocations: 0 / 435.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3682, allocations: 48 kB / 435.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.3699, allocations: 324.1 kB / 435.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.37, allocations: 11.98 kB / 436 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005399/0.3705, allocations: 0.6431 MB / 436.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3705, allocations: 4.031 kB / 436.6 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/0.3714, allocations: 0.7183 MB / 437.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3715, allocations: 108.7 kB / 437.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.3716, allocations: 4.094 kB / 437.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3718, allocations: 12.12 kB / 437.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.3718, allocations: 15.97 kB / 437.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3718, allocations: 20.42 kB / 437.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.372, allocations: 182 kB / 437.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.372, allocations: 0 / 437.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008111/0.3728, allocations: 187.9 kB / 437.8 MB, free: 15.21 MB / 366.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.001848/0.3747, allocations: 1.421 MB / 439.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008219/0.3755, allocations: 459.4 kB / 439.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3756, allocations: 0 / 439.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.3761, allocations: 231.8 kB / 439.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009719/0.377, allocations: 175.3 kB / 440.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.3812, allocations: 3.319 MB / 443.4 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3815, allocations: 0.7802 MB / 444.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.3817, allocations: 50.94 kB / 444.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3819, allocations: 103.4 kB / 444.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3819, allocations: 0 / 444.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.4204, allocations: 13.43 MB / 457.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 11.92 kB / 457.8 MB, free: 10.94 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches