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.00205/0.00205, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002012/0.002012, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 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.595/1.595, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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.3788/0.3788, allocations: 34.27 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.081e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3837/0.3838, allocations: 170.8 MB / 0.5352 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.3921, allocations: 5.415 MB / 0.5405 GB, free: 13.01 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008205/0.393, allocations: 27.34 kB / 0.5405 GB, free: 12.99 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.394, allocations: 311.5 kB / 0.5408 GB, free: 12.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.3981, allocations: 1.395 MB / 0.5422 GB, free: 12.06 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.401, allocations: 1.082 MB / 0.5432 GB, free: 11.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.4035, allocations: 1.885 MB / 0.5451 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.4041, allocations: 415.3 kB / 0.5455 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.4068, allocations: 1.35 MB / 0.5468 GB, free: 9.738 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.4083, allocations: 0.7252 MB / 0.5475 GB, free: 9.344 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.4084, allocations: 63.06 kB / 0.5476 GB, free: 9.344 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.4099, allocations: 0.5537 MB / 0.5481 GB, free: 9.102 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.4102, allocations: 292.6 kB / 0.5484 GB, free: 8.898 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.4107, allocations: 288.4 kB / 0.5487 GB, free: 8.762 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.4128, allocations: 1.394 MB / 0.55 GB, free: 7.871 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4128, allocations: 0 / 0.55 GB, free: 7.871 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4128, allocations: 3.938 kB / 0.55 GB, free: 7.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4128, allocations: 0 / 0.55 GB, free: 7.867 MB / 426.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.002399/0.4152, allocations: 1.191 MB / 0.5512 GB, free: 6.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4153, allocations: 9.219 kB / 0.5512 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.4162, allocations: 216.2 kB / 0.5514 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009651/0.4172, allocations: 0.4913 MB / 0.5519 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.4173, allocations: 160.8 kB / 0.552 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.4174, allocations: 60.55 kB / 0.5521 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.4191, allocations: 1.114 MB / 0.5532 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4191, allocations: 6.781 kB / 0.5532 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.4192, allocations: 21.66 kB / 0.5532 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/0.4192, allocations: 41.75 kB / 0.5533 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/0.4201, allocations: 458 kB / 0.5537 GB, free: 5.051 MB / 426.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.005395/0.4255, allocations: 4.147 MB / 0.5577 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.4261, allocations: 308.1 kB / 0.558 GB, free: 480 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.4264, allocations: 135 kB / 0.5582 GB, free: 344 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.4265, allocations: 16.27 kB / 0.5582 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4265, allocations: 41.67 kB / 0.5582 GB, free: 276 kB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.4265, allocations: 0 / 0.5582 GB, free: 276 kB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005815/0.4324, allocations: 1.384 MB / 0.5596 GB, free: 14.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4325, allocations: 136.5 kB / 0.5597 GB, free: 14.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4335, allocations: 0.6585 MB / 0.5603 GB, free: 14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.4335, allocations: 33.7 kB / 0.5604 GB, free: 13.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.4339, allocations: 462.9 kB / 0.5608 GB, free: 13.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.4341, allocations: 154.8 kB / 0.561 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.4344, allocations: 180.2 kB / 0.5611 GB, free: 13.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003575/0.4348, allocations: 0.5781 MB / 0.5617 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.4351, allocations: 141.9 kB / 0.5618 GB, free: 12.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000846/0.436, allocations: 0.6966 MB / 0.5625 GB, free: 11.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.4372, allocations: 0.7822 MB / 0.5633 GB, free: 10.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4372, allocations: 4 kB / 0.5633 GB, free: 10.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001591/0.4388, allocations: 0.7825 MB / 0.564 GB, free: 9.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4388, allocations: 12 kB / 0.5641 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.4388, allocations: 8 kB / 0.5641 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.4403, allocations: 295.3 kB / 0.5643 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.4407, allocations: 119.8 kB / 0.5645 GB, free: 9.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.4421, allocations: 1.132 MB / 0.5656 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.4426, allocations: 31.19 kB / 0.5656 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.4427, allocations: 63.98 kB / 0.5657 GB, free: 8.07 MB / 442.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.000408/0.4431, allocations: 252.2 kB / 0.5659 GB, free: 7.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4433, allocations: 71.62 kB / 0.566 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.4453, allocations: 0.781 MB / 0.5667 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4453, allocations: 4 kB / 0.5667 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4453, allocations: 4 kB / 0.5667 GB, free: 6.938 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.4453, allocations: 3.984 kB / 0.5667 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.4476, allocations: 1.156 MB / 0.5679 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.4476, allocations: 7.812 kB / 0.5679 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.4487, allocations: 195.8 kB / 0.5681 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.4488, allocations: 27.86 kB / 0.5681 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.4489, allocations: 19.98 kB / 0.5681 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.4519, allocations: 3.643 MB / 0.5717 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.4519, allocations: 4 kB / 0.5717 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.4533, allocations: 0.7653 MB / 0.5724 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.4536, allocations: 103.6 kB / 0.5725 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.4537, allocations: 11.95 kB / 0.5725 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4541, allocations: 19.92 kB / 0.5725 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4542, allocations: 31.95 kB / 0.5726 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/0.4543, allocations: 39.92 kB / 0.5726 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005337/0.4548, allocations: 406.8 kB / 0.573 GB, free: 164 kB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4548, allocations: 4.062 kB / 0.573 GB, free: 160 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001021/0.4558, allocations: 255.8 kB / 0.5733 GB, free: 15.9 MB / 458.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.0006965/0.4565, allocations: 292.3 kB / 0.5735 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.4578, allocations: 490.6 kB / 0.574 GB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4578, allocations: 0 / 0.574 GB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.4588, allocations: 441.8 kB / 0.5744 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.4604, allocations: 329 kB / 0.5747 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.4626, allocations: 1.208 MB / 0.5759 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.463, allocations: 320.3 kB / 0.5762 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009434/0.4639, allocations: 412 kB / 0.5766 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.4642, allocations: 100.4 kB / 0.5767 GB, free: 12.27 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4642, allocations: 0 / 0.5767 GB, free: 12.27 MB / 458.7 MB Notification: Performance of Templates: time 0.02936/0.4936, allocations: 15.46 MB / 0.5918 GB, free: 13.06 MB / 474.7 MB " [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=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","/var/lib/jenkins/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: 5.9468347548972815]