Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001549/0.001549, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001538/0.001538, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.48/1.48, allocations: 177.2 MB / 204.9 MB, free: 8.883 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 34.28 MB / 295.5 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 59.89 kB / 443.2 MB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2918, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1849/0.4768, allocations: 153.8 MB / 0.6475 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007532/0.4843, allocations: 4.907 MB / 0.6523 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005535/0.4849, allocations: 31.69 kB / 0.6523 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009145/0.4858, allocations: 306 kB / 0.6526 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003505/0.4893, allocations: 1.36 MB / 0.6539 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.4924, allocations: 1.061 MB / 0.6549 GB, free: 3.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002847/0.4953, allocations: 1.875 MB / 0.6568 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.496, allocations: 389.6 kB / 0.6571 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.4988, allocations: 1.121 MB / 0.6582 GB, free: 340 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.5004, allocations: 0.7704 MB / 0.659 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.5006, allocations: 68 kB / 0.6591 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.5021, allocations: 0.549 MB / 0.6596 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.5025, allocations: 279.1 kB / 0.6599 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.503, allocations: 334.6 kB / 0.6602 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.5049, allocations: 1.304 MB / 0.6615 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5049, allocations: 0 / 0.6615 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5049, allocations: 0 / 0.6615 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.5049, allocations: 0 / 0.6615 GB, free: 13.04 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.002419/0.5074, allocations: 1.042 MB / 0.6625 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5074, allocations: 12.02 kB / 0.6625 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008835/0.5083, allocations: 143.4 kB / 0.6626 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/0.5093, allocations: 485.3 kB / 0.6631 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.5095, allocations: 155.8 kB / 0.6632 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.5096, allocations: 51.98 kB / 0.6633 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5112, allocations: 1.136 MB / 0.6644 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.5112, allocations: 3.938 kB / 0.6644 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.5113, allocations: 28 kB / 0.6644 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.546e-05/0.5114, allocations: 44.92 kB / 0.6645 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.5126, allocations: 0.6205 MB / 0.6651 GB, free: 9.094 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.00484/0.5174, allocations: 3.208 MB / 0.6682 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.518, allocations: 344.3 kB / 0.6685 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.5184, allocations: 161.3 kB / 0.6687 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.5185, allocations: 12.27 kB / 0.6687 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.5185, allocations: 38.84 kB / 0.6687 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.275e-06/0.5185, allocations: 0 / 0.6687 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006227/0.5247, allocations: 1.594 MB / 0.6703 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.5249, allocations: 136.5 kB / 0.6704 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.5256, allocations: 0.5299 MB / 0.6709 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.5256, allocations: 37.7 kB / 0.671 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.5259, allocations: 388.2 kB / 0.6713 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.5261, allocations: 150.7 kB / 0.6715 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.5263, allocations: 158.6 kB / 0.6716 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.5265, allocations: 370.8 kB / 0.672 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.5269, allocations: 205.9 kB / 0.6722 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.5277, allocations: 0.5919 MB / 0.6728 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.5287, allocations: 0.7513 MB / 0.6735 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5287, allocations: 4 kB / 0.6735 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001607/0.5304, allocations: 0.8681 MB / 0.6743 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5304, allocations: 11.28 kB / 0.6744 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.5304, allocations: 12 kB / 0.6744 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.5319, allocations: 315.4 kB / 0.6747 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.5323, allocations: 127.7 kB / 0.6748 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.5336, allocations: 0.9347 MB / 0.6757 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.5342, allocations: 35.92 kB / 0.6757 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5343, allocations: 60 kB / 0.6758 GB, free: 13.5 MB / 0.5762 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.0003974/0.5347, allocations: 245.5 kB / 0.676 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.5348, allocations: 67.69 kB / 0.6761 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.5365, allocations: 0.8655 MB / 0.6769 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5366, allocations: 4 kB / 0.6769 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5366, allocations: 4 kB / 0.6769 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5366, allocations: 0 / 0.6769 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.5386, allocations: 1.083 MB / 0.678 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5386, allocations: 7.938 kB / 0.678 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.5397, allocations: 207.9 kB / 0.6782 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.972e-05/0.5398, allocations: 28.78 kB / 0.6782 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.5399, allocations: 20 kB / 0.6783 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.5423, allocations: 2.621 MB / 0.6808 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.5423, allocations: 8.031 kB / 0.6808 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.5438, allocations: 0.8144 MB / 0.6816 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.5441, allocations: 103.6 kB / 0.6817 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.5443, allocations: 8 kB / 0.6817 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.5447, allocations: 16 kB / 0.6817 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5448, allocations: 43.88 kB / 0.6818 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/0.5449, allocations: 48.17 kB / 0.6818 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005173/0.5454, allocations: 362.8 kB / 0.6822 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5454, allocations: 0 / 0.6822 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009831/0.5464, allocations: 251.7 kB / 0.6824 GB, free: 6.395 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.0006957/0.5471, allocations: 282.7 kB / 0.6827 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.5484, allocations: 0.5348 MB / 0.6832 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5484, allocations: 4 kB / 0.6832 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.5494, allocations: 403.1 kB / 0.6836 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5509, allocations: 311.2 kB / 0.6839 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.5534, allocations: 1.332 MB / 0.6852 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.5538, allocations: 332.3 kB / 0.6855 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001059/0.5549, allocations: 450.4 kB / 0.6859 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.5552, allocations: 108.4 kB / 0.686 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.5552, allocations: 0 / 0.686 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.2309/0.7861, allocations: 15.74 MB / 0.7014 GB, free: 165.1 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.017147623933852]