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.000798/0.000798, allocations: 79.53 kB / 20.01 MB, free: 4.508 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.0008199/0.0008199, allocations: 166 kB / 23.32 MB, free: 1.199 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.8514/0.8514, allocations: 158.6 MB / 185.1 MB, free: 3.004 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.1278/0.1278, allocations: 32.37 MB / 269.7 MB, free: 14.92 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 1.663e-06/1.663e-06, allocations: 0 / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.062e-05, allocations: 5.938 kB / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.333/0.333, allocations: 155.6 MB / 0.5495 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006196/0.3392, allocations: 5.285 MB / 0.5546 GB, free: 6.867 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.3396, allocations: 27.75 kB / 0.5546 GB, free: 6.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009974/0.3406, allocations: 313.8 kB / 0.5549 GB, free: 6.531 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.3443, allocations: 1.619 MB / 0.5565 GB, free: 4.906 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.3466, allocations: 1.296 MB / 0.5578 GB, free: 3.609 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.3481, allocations: 1.882 MB / 0.5596 GB, free: 1.723 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004469/0.3485, allocations: 397.5 kB / 0.56 GB, free: 1.328 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.3504, allocations: 1.5 MB / 0.5615 GB, free: 15.82 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008341/0.3513, allocations: 0.7126 MB / 0.5622 GB, free: 15.11 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.3516, allocations: 67.94 kB / 0.5622 GB, free: 15.04 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3527, allocations: 0.751 MB / 0.563 GB, free: 14.29 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.3529, allocations: 291.1 kB / 0.5632 GB, free: 14.01 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.3531, allocations: 283.4 kB / 0.5635 GB, free: 13.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.3546, allocations: 1.535 MB / 0.565 GB, free: 12.19 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3546, allocations: 0 / 0.565 GB, free: 12.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.3546, allocations: 0 / 0.565 GB, free: 12.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3546, allocations: 0 / 0.565 GB, free: 12.19 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.001809/0.3564, allocations: 1.069 MB / 0.5661 GB, free: 11.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.3564, allocations: 8.031 kB / 0.5661 GB, free: 11.08 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.3565, allocations: 106.5 kB / 0.5662 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.357, allocations: 135.4 kB / 0.5663 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.3576, allocations: 477.5 kB / 0.5668 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3578, allocations: 173 kB / 0.5669 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.3579, allocations: 44 kB / 0.567 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3589, allocations: 1.165 MB / 0.5681 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3589, allocations: 4 kB / 0.5681 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.359, allocations: 23.98 kB / 0.5681 GB, free: 8.746 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.359, allocations: 40.92 kB / 0.5682 GB, free: 8.707 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.3597, allocations: 0.6183 MB / 0.5688 GB, free: 8.09 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.002934/0.3626, allocations: 3.317 MB / 0.572 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.3631, allocations: 331.6 kB / 0.5723 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.3632, allocations: 165.3 kB / 0.5725 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.3635, allocations: 134.1 kB / 0.5726 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3635, allocations: 38.84 kB / 0.5726 GB, free: 3.973 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.963e-06/0.3635, allocations: 3.938 kB / 0.5726 GB, free: 3.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.003082/0.3666, allocations: 1.589 MB / 0.5742 GB, free: 2.328 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.3667, allocations: 140.5 kB / 0.5743 GB, free: 2.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.3672, allocations: 0.6288 MB / 0.5749 GB, free: 1.523 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3672, allocations: 29.7 kB / 0.575 GB, free: 1.488 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.3674, allocations: 379.8 kB / 0.5753 GB, free: 1.109 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/0.3675, allocations: 150.7 kB / 0.5755 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.3676, allocations: 154.6 kB / 0.5756 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3678, allocations: 382.7 kB / 0.576 GB, free: 432 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.3684, allocations: 197.9 kB / 0.5762 GB, free: 232 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.3688, allocations: 0.5888 MB / 0.5768 GB, free: 15.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.3694, allocations: 0.7526 MB / 0.5775 GB, free: 14.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3694, allocations: 0 / 0.5775 GB, free: 14.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008926/0.3703, allocations: 0.8728 MB / 0.5783 GB, free: 13.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3703, allocations: 11.98 kB / 0.5784 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3703, allocations: 12 kB / 0.5784 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007386/0.371, allocations: 324 kB / 0.5787 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3712, allocations: 123.8 kB / 0.5788 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007152/0.372, allocations: 0.927 MB / 0.5797 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3722, allocations: 24 kB / 0.5797 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.3722, allocations: 67.98 kB / 0.5798 GB, free: 12.2 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.0002054/0.3724, allocations: 251.8 kB / 0.58 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.3725, allocations: 75.52 kB / 0.5801 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.3733, allocations: 0.6802 MB / 0.5808 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.3733, allocations: 4 kB / 0.5808 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3733, allocations: 0 / 0.5808 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3733, allocations: 3.984 kB / 0.5808 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.3746, allocations: 1.207 MB / 0.5819 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3746, allocations: 4 kB / 0.582 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.3751, allocations: 207.8 kB / 0.5822 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.689e-05/0.3752, allocations: 25.72 kB / 0.5822 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.3752, allocations: 24.05 kB / 0.5822 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.3769, allocations: 2.667 MB / 0.5848 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3769, allocations: 4.344 kB / 0.5848 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.3776, allocations: 0.8055 MB / 0.5856 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3778, allocations: 119.5 kB / 0.5857 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.3778, allocations: 12 kB / 0.5857 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.378, allocations: 15.98 kB / 0.5857 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3781, allocations: 39.88 kB / 0.5858 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.3781, allocations: 43.98 kB / 0.5858 GB, free: 5.676 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003299/0.3785, allocations: 439 kB / 0.5862 GB, free: 5.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3785, allocations: 0 / 0.5862 GB, free: 5.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005642/0.379, allocations: 299.6 kB / 0.5865 GB, free: 4.957 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.001593/0.3806, allocations: 1.647 MB / 0.5881 GB, free: 3.273 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006979/0.3813, allocations: 0.5279 MB / 0.5886 GB, free: 2.746 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3813, allocations: 7.859 kB / 0.5887 GB, free: 2.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.3819, allocations: 406.7 kB / 0.589 GB, free: 2.328 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.3827, allocations: 366.2 kB / 0.5894 GB, free: 1.977 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/0.3883, allocations: 6.221 MB / 0.5955 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3886, allocations: 332.7 kB / 0.5958 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005047/0.3891, allocations: 258 kB / 0.596 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.3894, allocations: 280.4 kB / 0.5963 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.3894, allocations: 0 / 0.5963 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2157/0.6051, allocations: 26.75 MB / 0.6224 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.095, allocations: 2.75 kB / 0.6224 GB, free: 196.1 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/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: 11.161144173704088]