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.001317/0.001317, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002024/0.002024, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2219/0.2219, allocations: 44.92 MB / 358.8 MB, free: 6.059 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3856, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2151/0.6007, allocations: 153.8 MB / 0.7072 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008016/0.6087, allocations: 4.926 MB / 0.712 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.6096, allocations: 27.75 kB / 0.712 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.6107, allocations: 306 kB / 0.7123 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.6145, allocations: 1.368 MB / 0.7137 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.6176, allocations: 1.055 MB / 0.7147 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002712/0.6203, allocations: 1.875 MB / 0.7165 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.621, allocations: 393.6 kB / 0.7169 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.6238, allocations: 1.125 MB / 0.718 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.6252, allocations: 0.7588 MB / 0.7187 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.6254, allocations: 60 kB / 0.7188 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.6271, allocations: 0.55 MB / 0.7193 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003849/0.6275, allocations: 275.2 kB / 0.7196 GB, free: 420 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.628, allocations: 330.6 kB / 0.7199 GB, free: 88 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.6303, allocations: 1.308 MB / 0.7212 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6303, allocations: 0 / 0.7212 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6303, allocations: 0 / 0.7212 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.6303, allocations: 4 kB / 0.7212 GB, free: 14.77 MB / 0.5606 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.002592/0.6329, allocations: 1.038 MB / 0.7222 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.633, allocations: 12.03 kB / 0.7222 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.6332, allocations: 106.5 kB / 0.7223 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008233/0.634, allocations: 143.4 kB / 0.7225 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.635, allocations: 473.4 kB / 0.7229 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.6352, allocations: 155.8 kB / 0.7231 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/0.6353, allocations: 48 kB / 0.7231 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.6368, allocations: 1.146 MB / 0.7242 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.6368, allocations: 4 kB / 0.7242 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.6369, allocations: 27.98 kB / 0.7242 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.637, allocations: 40.86 kB / 0.7243 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6381, allocations: 0.6204 MB / 0.7249 GB, free: 10.73 MB / 0.5606 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.004911/0.643, allocations: 3.297 MB / 0.7281 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/0.6436, allocations: 335.6 kB / 0.7284 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.6439, allocations: 161.3 kB / 0.7286 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.644, allocations: 20.28 kB / 0.7286 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.644, allocations: 50.7 kB / 0.7287 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.835e-06/0.644, allocations: 4 kB / 0.7287 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005769/0.6498, allocations: 1.598 MB / 0.7302 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.6499, allocations: 132.5 kB / 0.7303 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008544/0.6507, allocations: 0.6366 MB / 0.731 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.6508, allocations: 29.7 kB / 0.731 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.6511, allocations: 379.8 kB / 0.7314 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.6513, allocations: 150.7 kB / 0.7315 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.6515, allocations: 162.6 kB / 0.7317 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6517, allocations: 374.8 kB / 0.732 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.6521, allocations: 205.9 kB / 0.7322 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.6528, allocations: 0.5839 MB / 0.7328 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6539, allocations: 0.7563 MB / 0.7335 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6539, allocations: 4 kB / 0.7335 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0017/0.6556, allocations: 0.8766 MB / 0.7344 GB, free: 436 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.6556, allocations: 8 kB / 0.7344 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.6557, allocations: 12 kB / 0.7344 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.6571, allocations: 319.1 kB / 0.7347 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3097/0.9668, allocations: 121.2 kB / 0.7348 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.968, allocations: 0.9292 MB / 0.7357 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.9687, allocations: 30.19 kB / 0.7358 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.9688, allocations: 68.09 kB / 0.7358 GB, free: 177.5 MB / 0.5606 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.0004511/0.9693, allocations: 246.1 kB / 0.7361 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.9695, allocations: 72.06 kB / 0.7361 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.9714, allocations: 0.8541 MB / 0.737 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.9714, allocations: 3.688 kB / 0.737 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9714, allocations: 0.5938 kB / 0.737 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9714, allocations: 7.672 kB / 0.737 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.9734, allocations: 1.139 MB / 0.7381 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.9734, allocations: 0 / 0.7381 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/0.9744, allocations: 212.7 kB / 0.7383 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.64e-05/0.9745, allocations: 27.78 kB / 0.7383 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.9745, allocations: 22.53 kB / 0.7383 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.9758, allocations: 2.67 MB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9758, allocations: 3.906 kB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.9768, allocations: 0.8304 MB / 0.7418 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.9771, allocations: 116 kB / 0.7419 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.9772, allocations: 11.69 kB / 0.7419 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.9775, allocations: 18.05 kB / 0.7419 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.9776, allocations: 42.33 kB / 0.7419 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.9777, allocations: 40.58 kB / 0.742 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004147/0.9781, allocations: 442.3 kB / 0.7424 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9781, allocations: 0 / 0.7424 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007759/0.9788, allocations: 255.6 kB / 0.7426 GB, free: 173.2 MB / 0.5606 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.001487/0.9803, allocations: 1.543 MB / 0.7441 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008908/0.9812, allocations: 0.5317 MB / 0.7447 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9812, allocations: 3.938 kB / 0.7447 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.982, allocations: 401.1 kB / 0.745 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.9835, allocations: 380.1 kB / 0.7454 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006712/0.9902, allocations: 6.339 MB / 0.7516 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.9904, allocations: 332.7 kB / 0.7519 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008671/0.9913, allocations: 464.7 kB / 0.7524 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.9917, allocations: 287.3 kB / 0.7526 GB, free: 163 MB / 0.5606 GB Notification: Performance of SimCode: time 2.134e-06/0.9917, allocations: 0 / 0.7526 GB, free: 163 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05755/1.049, allocations: 25.64 MB / 0.7777 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.85, allocations: 4.531 kB / 0.7777 GB, free: 137.8 MB / 0.5606 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/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: 17.96800687490031]