Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9125/0.9125, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2619/0.2619, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.141e-05, allocations: 3.969 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3408/0.3409, allocations: 153.8 MB / 0.5795 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005393/0.3463, allocations: 4.907 MB / 0.5843 GB, free: 5.898 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006383/0.3469, allocations: 27.69 kB / 0.5843 GB, free: 5.871 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008148/0.3477, allocations: 317.9 kB / 0.5846 GB, free: 5.559 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.351, allocations: 1.396 MB / 0.5859 GB, free: 4.164 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3531, allocations: 1.092 MB / 0.587 GB, free: 3.078 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.355, allocations: 1.879 MB / 0.5889 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.3557, allocations: 394.7 kB / 0.5892 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.358, allocations: 1.351 MB / 0.5905 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.3592, allocations: 0.7287 MB / 0.5913 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.3593, allocations: 60 kB / 0.5913 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3607, allocations: 0.5576 MB / 0.5919 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.361, allocations: 291.1 kB / 0.5921 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3612, allocations: 279.4 kB / 0.5924 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.3629, allocations: 1.387 MB / 0.5938 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.363, allocations: 0 / 0.5938 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.363, allocations: 0 / 0.5938 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.363e-05/0.363, allocations: 0 / 0.5938 GB, free: 12.15 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001892/0.3649, allocations: 1.038 MB / 0.5948 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.3649, allocations: 15.97 kB / 0.5948 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.365, allocations: 98.5 kB / 0.5949 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.3655, allocations: 135.5 kB / 0.595 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.3662, allocations: 482.9 kB / 0.5955 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.3663, allocations: 159.7 kB / 0.5956 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.175e-05/0.3664, allocations: 48 kB / 0.5957 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3674, allocations: 1.14 MB / 0.5968 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3674, allocations: 7.938 kB / 0.5968 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.3675, allocations: 24 kB / 0.5968 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.3675, allocations: 36.98 kB / 0.5968 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007308/0.3683, allocations: 0.6243 MB / 0.5975 GB, free: 8.109 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.3716, allocations: 3.288 MB / 0.6007 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.3721, allocations: 346.2 kB / 0.601 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3722, allocations: 157.3 kB / 0.6011 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.3723, allocations: 16.27 kB / 0.6012 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3723, allocations: 42.22 kB / 0.6012 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.595e-06/0.3724, allocations: 0 / 0.6012 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003394/0.3757, allocations: 1.611 MB / 0.6028 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.3758, allocations: 132.5 kB / 0.6029 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.3763, allocations: 0.6327 MB / 0.6035 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3764, allocations: 37.7 kB / 0.6036 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3766, allocations: 367.8 kB / 0.6039 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.3767, allocations: 146.7 kB / 0.604 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3768, allocations: 158.6 kB / 0.6042 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3769, allocations: 374.8 kB / 0.6046 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.3772, allocations: 209.9 kB / 0.6048 GB, free: 396 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.3776, allocations: 0.5919 MB / 0.6053 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.3785, allocations: 0.7448 MB / 0.6061 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3785, allocations: 4 kB / 0.6061 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009436/0.3795, allocations: 0.8835 MB / 0.6069 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3795, allocations: 8 kB / 0.6069 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3795, allocations: 17.31 kB / 0.607 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/0.3803, allocations: 310.8 kB / 0.6073 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3805, allocations: 115.8 kB / 0.6074 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000786/0.3813, allocations: 0.942 MB / 0.6083 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.3816, allocations: 24 kB / 0.6083 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.3817, allocations: 67.98 kB / 0.6084 GB, free: 12.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.382, allocations: 245.5 kB / 0.6086 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.382, allocations: 79.77 kB / 0.6087 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3832, allocations: 0.8612 MB / 0.6095 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3832, allocations: 4 kB / 0.6095 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.3832, allocations: 2.438 kB / 0.6095 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3832, allocations: 3.938 kB / 0.6095 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.3845, allocations: 1.137 MB / 0.6106 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3845, allocations: 8.031 kB / 0.6106 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.3851, allocations: 211.7 kB / 0.6108 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.417e-05/0.3851, allocations: 24.84 kB / 0.6109 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3852, allocations: 23.98 kB / 0.6109 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.3871, allocations: 2.668 MB / 0.6135 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3871, allocations: 4.031 kB / 0.6135 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.388, allocations: 0.8242 MB / 0.6143 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.3882, allocations: 119.6 kB / 0.6144 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.3882, allocations: 8 kB / 0.6144 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.3884, allocations: 15.98 kB / 0.6144 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.3885, allocations: 43.94 kB / 0.6145 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.3885, allocations: 44.42 kB / 0.6145 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00041/0.389, allocations: 439 kB / 0.615 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.389, allocations: 0 / 0.615 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007666/0.3897, allocations: 259.7 kB / 0.6152 GB, free: 5.008 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/0.3914, allocations: 1.544 MB / 0.6167 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008287/0.3922, allocations: 0.5314 MB / 0.6172 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3922, allocations: 0 / 0.6172 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.3928, allocations: 410.3 kB / 0.6176 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3938, allocations: 382.1 kB / 0.618 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/0.4003, allocations: 6.258 MB / 0.6241 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.4006, allocations: 336.7 kB / 0.6244 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007806/0.4013, allocations: 455.1 kB / 0.6248 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.4017, allocations: 288.4 kB / 0.6251 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.674e-06/0.4017, allocations: 0 / 0.6251 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2328/0.6345, allocations: 25.69 MB / 0.6502 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/9.149, allocations: 0 / 0.6502 GB, free: 164.7 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.35045747924596]