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.001043/0.001043, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0007932/0.0007932, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8608/0.8608, allocations: 158.6 MB / 185 MB, free: 3.031 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.1417/0.1417, allocations: 32.36 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.495e-06/2.495e-06, allocations: 3.938 kB / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.599e-05, allocations: 2.281 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3205/0.3205, allocations: 155.6 MB / 0.5492 GB, free: 6.934 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005176/0.3257, allocations: 5.281 MB / 0.5544 GB, free: 3.379 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00058/0.3263, allocations: 27.94 kB / 0.5544 GB, free: 3.363 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007548/0.327, allocations: 312.2 kB / 0.5547 GB, free: 3.195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.33, allocations: 1.621 MB / 0.5563 GB, free: 2.344 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.3323, allocations: 1.29 MB / 0.5576 GB, free: 1.719 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.3341, allocations: 1.884 MB / 0.5594 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.3346, allocations: 403 kB / 0.5598 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.3369, allocations: 1.493 MB / 0.5612 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.3379, allocations: 0.7218 MB / 0.562 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3381, allocations: 60.81 kB / 0.562 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.3396, allocations: 0.7468 MB / 0.5627 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3399, allocations: 281 kB / 0.563 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.3402, allocations: 295 kB / 0.5633 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.3419, allocations: 1.533 MB / 0.5648 GB, free: 13.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3419, allocations: 0 / 0.5648 GB, free: 13.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3419, allocations: 3.406 kB / 0.5648 GB, free: 13.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.342, allocations: 0 / 0.5648 GB, free: 13.54 MB / 458.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.001977/0.3439, allocations: 1.077 MB / 0.5658 GB, free: 12.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.344, allocations: 10.19 kB / 0.5658 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.3441, allocations: 96.14 kB / 0.5659 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.3446, allocations: 148.2 kB / 0.5661 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.3452, allocations: 469.6 kB / 0.5665 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.3454, allocations: 160.9 kB / 0.5667 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.3454, allocations: 52.69 kB / 0.5667 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3467, allocations: 1.166 MB / 0.5679 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3467, allocations: 10.58 kB / 0.5679 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.3468, allocations: 28.11 kB / 0.5679 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.3468, allocations: 37.98 kB / 0.5679 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.3475, allocations: 0.614 MB / 0.5685 GB, free: 10.69 MB / 458.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.002843/0.3504, allocations: 3.309 MB / 0.5718 GB, free: 7.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.3508, allocations: 343.5 kB / 0.5721 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.3509, allocations: 161 kB / 0.5723 GB, free: 7.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.3512, allocations: 135.6 kB / 0.5724 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3513, allocations: 43.16 kB / 0.5724 GB, free: 7.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.454e-06/0.3513, allocations: 0 / 0.5724 GB, free: 7.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003357/0.3546, allocations: 1.595 MB / 0.574 GB, free: 6.613 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3547, allocations: 133.4 kB / 0.5741 GB, free: 6.457 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.3552, allocations: 0.6234 MB / 0.5747 GB, free: 6.086 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.3553, allocations: 36.73 kB / 0.5748 GB, free: 6.047 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3554, allocations: 375.9 kB / 0.5751 GB, free: 5.711 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.539e-05/0.3555, allocations: 151.8 kB / 0.5753 GB, free: 5.582 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.3557, allocations: 155.8 kB / 0.5754 GB, free: 5.496 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3558, allocations: 378.8 kB / 0.5758 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3561, allocations: 203.8 kB / 0.576 GB, free: 5.035 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.3565, allocations: 0.5978 MB / 0.5765 GB, free: 4.422 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.3574, allocations: 0.7416 MB / 0.5773 GB, free: 3.797 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3574, allocations: 3.094 kB / 0.5773 GB, free: 3.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009783/0.3584, allocations: 0.8703 MB / 0.5781 GB, free: 3.008 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3584, allocations: 15.94 kB / 0.5781 GB, free: 2.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3584, allocations: 8 kB / 0.5781 GB, free: 2.984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007917/0.3592, allocations: 324.7 kB / 0.5785 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3595, allocations: 123.8 kB / 0.5786 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007551/0.3602, allocations: 0.9342 MB / 0.5795 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3605, allocations: 24 kB / 0.5795 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.3606, allocations: 69.86 kB / 0.5796 GB, free: 1.5 MB / 458.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.000251/0.3608, allocations: 243.7 kB / 0.5798 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.3609, allocations: 71.52 kB / 0.5799 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009117/0.3618, allocations: 0.687 MB / 0.5805 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3618, allocations: 7.984 kB / 0.5806 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3618, allocations: 1.688 kB / 0.5806 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3618, allocations: 0 / 0.5806 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.3634, allocations: 1.219 MB / 0.5817 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3635, allocations: 128 / 0.5817 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.364, allocations: 215.8 kB / 0.582 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.3641, allocations: 16.84 kB / 0.582 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3641, allocations: 23.94 kB / 0.582 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.3659, allocations: 2.662 MB / 0.5846 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3659, allocations: 0 / 0.5846 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.3668, allocations: 0.8112 MB / 0.5854 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.367, allocations: 119.5 kB / 0.5855 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.367, allocations: 12.31 kB / 0.5855 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3672, allocations: 19.98 kB / 0.5855 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.3673, allocations: 43.88 kB / 0.5856 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.3673, allocations: 39.98 kB / 0.5856 GB, free: 10.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00038/0.3677, allocations: 439 kB / 0.586 GB, free: 10.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0 / 0.586 GB, free: 10.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007718/0.3685, allocations: 299.6 kB / 0.5863 GB, free: 10.26 MB / 474.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.001744/0.3702, allocations: 1.626 MB / 0.5879 GB, free: 8.602 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000812/0.3711, allocations: 0.5275 MB / 0.5884 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3711, allocations: 0 / 0.5884 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.3716, allocations: 407.1 kB / 0.5888 GB, free: 7.664 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.3726, allocations: 368.4 kB / 0.5892 GB, free: 7.328 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.3794, allocations: 6.225 MB / 0.5952 GB, free: 0.707 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.3796, allocations: 340.6 kB / 0.5956 GB, free: 356 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006805/0.3803, allocations: 266.5 kB / 0.5958 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.3806, allocations: 272.5 kB / 0.5961 GB, free: 15.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3807, allocations: 0 / 0.5961 GB, free: 15.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.4238, allocations: 26.81 MB / 0.6223 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.374, allocations: 4.062 kB / 0.6223 GB, free: 4.977 MB / 0.4948 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.515330219641328]