Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008447/0.0008447, allocations: 80.48 kB / 19.93 MB, free: 4.625 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.0008705/0.0008705, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8499/0.8499, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1378/0.1378, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.557e-05, allocations: 2.281 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3677/0.3678, allocations: 155.6 MB / 0.5492 GB, free: 12.24 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005624/0.3734, allocations: 5.285 MB / 0.5544 GB, free: 6.945 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.3738, allocations: 27.75 kB / 0.5544 GB, free: 6.918 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007232/0.3745, allocations: 317.8 kB / 0.5547 GB, free: 6.605 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.3778, allocations: 1.619 MB / 0.5563 GB, free: 4.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.3807, allocations: 1.293 MB / 0.5576 GB, free: 3.688 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.3824, allocations: 1.89 MB / 0.5594 GB, free: 1.793 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.3829, allocations: 393.5 kB / 0.5598 GB, free: 1.402 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.3848, allocations: 1.5 MB / 0.5613 GB, free: 15.9 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008511/0.3856, allocations: 0.7126 MB / 0.562 GB, free: 15.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.3857, allocations: 60 kB / 0.562 GB, free: 15.12 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3868, allocations: 0.7642 MB / 0.5628 GB, free: 14.36 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.387, allocations: 283.1 kB / 0.563 GB, free: 14.08 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.3872, allocations: 283.4 kB / 0.5633 GB, free: 13.8 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.3888, allocations: 1.527 MB / 0.5648 GB, free: 12.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3888, allocations: 3.938 kB / 0.5648 GB, free: 12.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3888, allocations: 0 / 0.5648 GB, free: 12.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3888, allocations: 0 / 0.5648 GB, free: 12.27 MB / 474.7 MB 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.001528/0.3903, allocations: 1.076 MB / 0.5658 GB, free: 11.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.3904, allocations: 8.031 kB / 0.5659 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.3905, allocations: 102.5 kB / 0.566 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.3909, allocations: 139.4 kB / 0.5661 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.3916, allocations: 481.5 kB / 0.5665 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.3917, allocations: 157 kB / 0.5667 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.3917, allocations: 48 kB / 0.5667 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009653/0.3927, allocations: 1.173 MB / 0.5679 GB, free: 8.844 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3927, allocations: 0 / 0.5679 GB, free: 8.844 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.3928, allocations: 24 kB / 0.5679 GB, free: 8.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.3928, allocations: 32.98 kB / 0.5679 GB, free: 8.789 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.3935, allocations: 0.6243 MB / 0.5685 GB, free: 8.164 MB / 474.7 MB 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.003012/0.3965, allocations: 3.311 MB / 0.5718 GB, free: 4.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.3969, allocations: 339 kB / 0.5721 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.3971, allocations: 161.3 kB / 0.5723 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.3973, allocations: 134.1 kB / 0.5724 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3974, allocations: 42.78 kB / 0.5724 GB, free: 4.051 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.3974, allocations: 3.938 kB / 0.5724 GB, free: 4.047 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.00306/0.4004, allocations: 1.594 MB / 0.574 GB, free: 2.402 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.4005, allocations: 132.5 kB / 0.5741 GB, free: 2.242 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.401, allocations: 0.6327 MB / 0.5747 GB, free: 1.602 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.401, allocations: 33.7 kB / 0.5748 GB, free: 1.562 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4012, allocations: 375.8 kB / 0.5751 GB, free: 1.188 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/0.4013, allocations: 150.7 kB / 0.5753 GB, free: 1.039 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.4015, allocations: 158.6 kB / 0.5754 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4016, allocations: 378.7 kB / 0.5758 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.4019, allocations: 201.9 kB / 0.576 GB, free: 308 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.4023, allocations: 0.5919 MB / 0.5766 GB, free: 15.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.4029, allocations: 0.7486 MB / 0.5773 GB, free: 14.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4029, allocations: 4 kB / 0.5773 GB, free: 14.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001193/0.4041, allocations: 0.8689 MB / 0.5781 GB, free: 13.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4041, allocations: 12 kB / 0.5781 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4041, allocations: 8.094 kB / 0.5782 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007594/0.4049, allocations: 327.9 kB / 0.5785 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.4051, allocations: 123.8 kB / 0.5786 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007188/0.4058, allocations: 0.9309 MB / 0.5795 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.4061, allocations: 28 kB / 0.5795 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.4061, allocations: 63.98 kB / 0.5796 GB, free: 12.27 MB / 490.7 MB 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.0002143/0.4063, allocations: 247.8 kB / 0.5798 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.4064, allocations: 71.52 kB / 0.5799 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008265/0.4072, allocations: 0.6766 MB / 0.5805 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4072, allocations: 4 kB / 0.5806 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4073, allocations: 3.938 kB / 0.5806 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4073, allocations: 0 / 0.5806 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.4085, allocations: 1.219 MB / 0.5817 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4085, allocations: 0 / 0.5817 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.4091, allocations: 211.8 kB / 0.5819 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.448e-05/0.4091, allocations: 20.84 kB / 0.582 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4092, allocations: 28.05 kB / 0.582 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.4104, allocations: 2.663 MB / 0.5846 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4104, allocations: 320 / 0.5846 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4115, allocations: 0.8094 MB / 0.5854 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.4116, allocations: 119.5 kB / 0.5855 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.4117, allocations: 11.98 kB / 0.5855 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.4119, allocations: 16 kB / 0.5855 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.412, allocations: 43.88 kB / 0.5856 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.412, allocations: 39.98 kB / 0.5856 GB, free: 5.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000349/0.4124, allocations: 439 kB / 0.586 GB, free: 5.324 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4124, allocations: 0 / 0.586 GB, free: 5.324 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000648/0.413, allocations: 303.6 kB / 0.5863 GB, free: 5.027 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001615/0.4146, allocations: 1.643 MB / 0.5879 GB, free: 3.348 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.4154, allocations: 0.5279 MB / 0.5884 GB, free: 2.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.4154, allocations: 3.859 kB / 0.5884 GB, free: 2.816 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.416, allocations: 402.8 kB / 0.5888 GB, free: 2.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/0.4169, allocations: 365 kB / 0.5892 GB, free: 2.059 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.423, allocations: 6.232 MB / 0.5953 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.4232, allocations: 336.6 kB / 0.5956 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000554/0.4238, allocations: 258 kB / 0.5958 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.4241, allocations: 280.4 kB / 0.5961 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.4241, allocations: 0 / 0.5961 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2086/0.6327, allocations: 26.8 MB / 0.6223 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.609, allocations: 0.8438 kB / 0.6223 GB, free: 195.8 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.721526866778731]