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.001832/0.001832, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.002095/0.002095, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.505/1.505, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.201/0.201, allocations: 32.8 MB / 294.1 MB, free: 20 kB / 270.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [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.003289/0.003289, allocations: 63.91 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3911, allocations: 65.45 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1957/0.5868, allocations: 153.8 MB / 0.6444 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0075/0.5943, allocations: 4.922 MB / 0.6492 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.5948, allocations: 27.75 kB / 0.6492 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000895/0.5957, allocations: 302 kB / 0.6495 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.5991, allocations: 1.36 MB / 0.6508 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.6019, allocations: 1.069 MB / 0.6519 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.6042, allocations: 1.875 MB / 0.6537 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005903/0.6048, allocations: 393.6 kB / 0.6541 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.6071, allocations: 1.117 MB / 0.6552 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.6084, allocations: 0.7705 MB / 0.6559 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.6086, allocations: 60 kB / 0.656 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.6099, allocations: 0.5528 MB / 0.6565 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.6102, allocations: 275.1 kB / 0.6568 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.6106, allocations: 326.7 kB / 0.6571 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.6123, allocations: 1.308 MB / 0.6584 GB, free: 344 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6123, allocations: 4 kB / 0.6584 GB, free: 340 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6123, allocations: 3.938 kB / 0.6584 GB, free: 336 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.6123, allocations: 3.938 kB / 0.6584 GB, free: 332 kB / 0.545 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.002286/0.6146, allocations: 1.045 MB / 0.6594 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6147, allocations: 12.03 kB / 0.6594 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008494/0.6155, allocations: 135.4 kB / 0.6596 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.6164, allocations: 473.4 kB / 0.66 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.6166, allocations: 159.8 kB / 0.6602 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.6167, allocations: 44 kB / 0.6602 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6182, allocations: 1.155 MB / 0.6613 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6182, allocations: 3.938 kB / 0.6613 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.6183, allocations: 24 kB / 0.6614 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/0.6183, allocations: 40.92 kB / 0.6614 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6195, allocations: 0.6204 MB / 0.662 GB, free: 12.39 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.004418/0.6239, allocations: 3.204 MB / 0.6651 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.6245, allocations: 340.3 kB / 0.6655 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.6248, allocations: 165.3 kB / 0.6656 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-05/0.6249, allocations: 16.27 kB / 0.6656 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.6249, allocations: 42.78 kB / 0.6657 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.6249, allocations: 0 / 0.6657 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005944/0.6309, allocations: 1.59 MB / 0.6672 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.631, allocations: 140.5 kB / 0.6674 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.6316, allocations: 0.5338 MB / 0.6679 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.6317, allocations: 33.7 kB / 0.6679 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.632, allocations: 392.2 kB / 0.6683 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.6321, allocations: 146.7 kB / 0.6684 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.6323, allocations: 162.6 kB / 0.6686 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6325, allocations: 370.8 kB / 0.6689 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.6329, allocations: 201.9 kB / 0.6691 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.6336, allocations: 0.5919 MB / 0.6697 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6347, allocations: 0.7602 MB / 0.6704 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6347, allocations: 0 / 0.6704 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001529/0.6362, allocations: 0.8649 MB / 0.6713 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6362, allocations: 12 kB / 0.6713 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6362, allocations: 8 kB / 0.6713 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.6376, allocations: 311.2 kB / 0.6716 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.6381, allocations: 123.8 kB / 0.6717 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.6393, allocations: 0.9386 MB / 0.6726 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.6397, allocations: 31.98 kB / 0.6727 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.6398, allocations: 63.94 kB / 0.6727 GB, free: 0.8008 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.0003385/0.6401, allocations: 249.5 kB / 0.673 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.6403, allocations: 59.62 kB / 0.673 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.6419, allocations: 0.8658 MB / 0.6739 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.6419, allocations: 4 kB / 0.6739 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.642, allocations: 4 kB / 0.6739 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.642, allocations: 0 / 0.6739 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.6439, allocations: 1.087 MB / 0.6749 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.6439, allocations: 7.938 kB / 0.6749 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.645, allocations: 207.8 kB / 0.6751 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.413e-05/0.6451, allocations: 20.84 kB / 0.6752 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.6452, allocations: 23.98 kB / 0.6752 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.6475, allocations: 2.633 MB / 0.6778 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6475, allocations: 0 / 0.6778 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.6489, allocations: 0.8186 MB / 0.6786 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.6492, allocations: 107.6 kB / 0.6787 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6493, allocations: 8 kB / 0.6787 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.6497, allocations: 19.98 kB / 0.6787 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/0.6498, allocations: 39.89 kB / 0.6787 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.6499, allocations: 47.97 kB / 0.6788 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005002/0.6504, allocations: 354.8 kB / 0.6791 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6504, allocations: 0 / 0.6791 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001062/0.6515, allocations: 255.7 kB / 0.6794 GB, free: 9.688 MB / 0.5762 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.0007957/0.6523, allocations: 278.7 kB / 0.6796 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.6536, allocations: 0.5311 MB / 0.6801 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6536, allocations: 3.938 kB / 0.6801 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.6547, allocations: 410.9 kB / 0.6805 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.6562, allocations: 301.6 kB / 0.6808 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.6588, allocations: 1.352 MB / 0.6821 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.6592, allocations: 328.3 kB / 0.6825 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001034/0.6602, allocations: 450.3 kB / 0.6829 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.6605, allocations: 108.5 kB / 0.683 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.6605, allocations: 0 / 0.683 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of Templates: time 0.2606/0.9211, allocations: 15.74 MB / 0.6984 GB, free: 167.4 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/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: 6.183577363030054]