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.001032/0.001032, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001249/0.001249, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2773/0.2773, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 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 1.583e-06/1.583e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.644e-05, allocations: 5.859 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3368/0.3369, allocations: 148.1 MB / 473.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3395, allocations: 2.653 MB / 476 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.3397, allocations: 29.78 kB / 476 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.3402, allocations: 209.3 kB / 476.2 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.342, allocations: 1.184 MB / 477.4 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/0.3429, allocations: 0.8326 MB / 478.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.344, allocations: 1.925 MB / 480.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.3444, allocations: 428.4 kB / 480.6 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.3455, allocations: 1.237 MB / 481.8 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.346, allocations: 0.5575 MB / 482.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.3461, allocations: 60.56 kB / 482.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.3466, allocations: 451.4 kB / 482.9 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.3468, allocations: 294.2 kB / 483.2 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.347, allocations: 280.7 kB / 483.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007993/0.3478, allocations: 0.9977 MB / 484.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3478, allocations: 0 / 484.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3478, allocations: 0 / 484.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3478, allocations: 0 / 484.5 MB, free: 15.69 MB / 410.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.001113/0.3489, allocations: 0.9724 MB / 485.4 MB, free: 15.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.349, allocations: 10.72 kB / 485.4 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.3494, allocations: 213.7 kB / 485.7 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.3499, allocations: 424.7 kB / 486.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.3499, allocations: 154.1 kB / 486.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.35, allocations: 61.42 kB / 486.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.3506, allocations: 0.8802 MB / 487.2 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3506, allocations: 4.922 kB / 487.2 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.3506, allocations: 24.06 kB / 487.2 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.3507, allocations: 40.55 kB / 487.2 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.3509, allocations: 228.2 kB / 487.4 MB, free: 14.14 MB / 410.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.001737/0.3527, allocations: 2.642 MB / 490.1 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3529, allocations: 178.2 kB / 490.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.3529, allocations: 60.81 kB / 490.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.3531, allocations: 41.38 kB / 490.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3531, allocations: 48.83 kB / 490.4 MB, free: 12.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.442e-06/0.3531, allocations: 0 / 490.4 MB, free: 12.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002059/0.3551, allocations: 0.919 MB / 491.3 MB, free: 11.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3552, allocations: 136.5 kB / 491.5 MB, free: 11.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.3554, allocations: 489.4 kB / 491.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3555, allocations: 35.23 kB / 492 MB, free: 11.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3556, allocations: 343.5 kB / 492.3 MB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.3556, allocations: 148.2 kB / 492.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3558, allocations: 144.8 kB / 492.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.3558, allocations: 378.2 kB / 493 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.3559, allocations: 66.38 kB / 493 MB, free: 10.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3561, allocations: 495.9 kB / 493.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.3565, allocations: 0.5304 MB / 494 MB, free: 9.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3565, allocations: 2.719 kB / 494 MB, free: 9.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0004775/0.3569, allocations: 499.8 kB / 494.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3569, allocations: 8.469 kB / 494.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.357, allocations: 10.88 kB / 494.6 MB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/0.3575, allocations: 222.2 kB / 494.8 MB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3577, allocations: 129.5 kB / 494.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003619/0.358, allocations: 0.6843 MB / 495.6 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3582, allocations: 28.12 kB / 495.6 MB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.3583, allocations: 52.36 kB / 495.7 MB, free: 9.277 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001306/0.3584, allocations: 168.7 kB / 495.8 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.3585, allocations: 50.39 kB / 495.9 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.3591, allocations: 0.5783 MB / 496.5 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3591, allocations: 2.812 kB / 496.5 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3591, allocations: 2.375 kB / 496.5 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3591, allocations: 5.578 kB / 496.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.3599, allocations: 0.7274 MB / 497.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3599, allocations: 2.938 kB / 497.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.3603, allocations: 172.5 kB / 497.4 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-05/0.3604, allocations: 22.66 kB / 497.4 MB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.3604, allocations: 15.34 kB / 497.4 MB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006993/0.3611, allocations: 2.403 MB / 499.8 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3611, allocations: 2.812 kB / 499.8 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3614, allocations: 473.3 kB / 0.4885 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/0.3615, allocations: 67.58 kB / 0.4886 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.3616, allocations: 10.95 kB / 0.4886 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3617, allocations: 21.77 kB / 0.4886 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.3618, allocations: 37.7 kB / 0.4887 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.3618, allocations: 30.27 kB / 0.4887 GB, free: 6.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.362, allocations: 202.2 kB / 0.4889 GB, free: 6.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.362, allocations: 0 / 0.4889 GB, free: 6.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004431/0.3624, allocations: 248.6 kB / 0.4891 GB, free: 6.031 MB / 410.7 MB 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 (38): * Single equations (assignments): 36 * 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.0003611/0.3628, allocations: 247.7 kB / 0.4894 GB, free: 5.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.3632, allocations: 333 kB / 0.4897 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.3632, allocations: 11.5 kB / 0.4897 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.3635, allocations: 288.7 kB / 0.49 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.3642, allocations: 319.3 kB / 0.4903 GB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3655, allocations: 1.126 MB / 0.4914 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.602e-05/0.3656, allocations: 161.3 kB / 0.4915 GB, free: 5.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004298/0.366, allocations: 371.7 kB / 0.4919 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.3665, allocations: 323.5 kB / 0.4922 GB, free: 4.789 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3665, allocations: 0 / 0.4922 GB, free: 4.789 MB / 410.7 MB Notification: Performance of Templates: time 0.01665/0.3831, allocations: 16.56 MB / 0.5084 GB, free: 9.395 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8203902281820774]