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.0009507/0.0009507, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001032/0.001032, allocations: 161 kB / 24.56 MB, free: 16 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.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2556/0.2556, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.266e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3142/0.3143, allocations: 148.8 MB / 0.5125 GB, free: 17.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.3177, allocations: 2.605 MB / 0.515 GB, free: 15.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.3181, allocations: 31.56 kB / 0.5151 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.3187, allocations: 213.3 kB / 0.5153 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.3208, allocations: 1.184 MB / 0.5164 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.3221, allocations: 0.8354 MB / 0.5173 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.3236, allocations: 1.919 MB / 0.5191 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/0.3242, allocations: 418.5 kB / 0.5195 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3253, allocations: 1.065 MB / 0.5206 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008894/0.3262, allocations: 0.7225 MB / 0.5213 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3263, allocations: 62.97 kB / 0.5213 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.327, allocations: 451.7 kB / 0.5218 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3272, allocations: 290.8 kB / 0.522 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.3274, allocations: 285.9 kB / 0.5223 GB, free: 12.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3284, allocations: 1.005 MB / 0.5233 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3284, allocations: 0 / 0.5233 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3284, allocations: 0 / 0.5233 GB, free: 11.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.3284, allocations: 0 / 0.5233 GB, free: 11.89 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.001414/0.3299, allocations: 1.138 MB / 0.5244 GB, free: 11.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3299, allocations: 9.312 kB / 0.5244 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.3305, allocations: 216.1 kB / 0.5246 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.331, allocations: 498.2 kB / 0.5251 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.216e-05/0.3311, allocations: 154.2 kB / 0.5252 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.3312, allocations: 61.11 kB / 0.5253 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.3319, allocations: 1.001 MB / 0.5263 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3319, allocations: 0 / 0.5263 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.3319, allocations: 32.34 kB / 0.5263 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.332, allocations: 40.94 kB / 0.5263 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.3324, allocations: 311 kB / 0.5266 GB, free: 9.605 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.002173/0.3346, allocations: 3.87 MB / 0.5304 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.3348, allocations: 214.2 kB / 0.5306 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.335, allocations: 83.52 kB / 0.5307 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.335, allocations: 25.97 kB / 0.5307 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3351, allocations: 40.67 kB / 0.5308 GB, free: 6.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.342e-06/0.3351, allocations: 2.656 kB / 0.5308 GB, free: 6.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002661/0.3377, allocations: 1.162 MB / 0.5319 GB, free: 5.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3378, allocations: 138.3 kB / 0.532 GB, free: 5.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.3381, allocations: 0.5409 MB / 0.5326 GB, free: 5.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3382, allocations: 36.05 kB / 0.5326 GB, free: 5.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3383, allocations: 434.8 kB / 0.533 GB, free: 4.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.3384, allocations: 154.8 kB / 0.5332 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3386, allocations: 162.9 kB / 0.5333 GB, free: 4.496 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.3387, allocations: 0.5446 MB / 0.5339 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3388, allocations: 97.64 kB / 0.5339 GB, free: 3.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.3391, allocations: 0.6134 MB / 0.5345 GB, free: 3.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.3395, allocations: 0.6657 MB / 0.5352 GB, free: 2.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3395, allocations: 2.594 kB / 0.5352 GB, free: 2.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007002/0.3402, allocations: 0.6553 MB / 0.5358 GB, free: 2.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3403, allocations: 8.719 kB / 0.5358 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3403, allocations: 11.41 kB / 0.5359 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006626/0.3409, allocations: 242.6 kB / 0.5361 GB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3411, allocations: 122.2 kB / 0.5362 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004919/0.3416, allocations: 1.004 MB / 0.5372 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3418, allocations: 28.47 kB / 0.5372 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.3419, allocations: 58.33 kB / 0.5373 GB, free: 1.406 MB / 410.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.0001353/0.342, allocations: 209.5 kB / 0.5375 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.3421, allocations: 78.42 kB / 0.5375 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000762/0.3429, allocations: 0.6844 MB / 0.5382 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3429, allocations: 3.031 kB / 0.5382 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3429, allocations: 0 / 0.5382 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3429, allocations: 6.391 kB / 0.5382 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.3438, allocations: 0.9406 MB / 0.5391 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3438, allocations: 0 / 0.5391 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.3443, allocations: 201.7 kB / 0.5393 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.379e-05/0.3443, allocations: 23.62 kB / 0.5394 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.3444, allocations: 22.8 kB / 0.5394 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.3457, allocations: 3.555 MB / 0.5428 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3457, allocations: 0 / 0.5428 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.3463, allocations: 0.5978 MB / 0.5434 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3464, allocations: 94.41 kB / 0.5435 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3465, allocations: 13.84 kB / 0.5435 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3466, allocations: 19.03 kB / 0.5436 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.3467, allocations: 43.53 kB / 0.5436 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.3467, allocations: 34.75 kB / 0.5436 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004348/0.3472, allocations: 341.7 kB / 0.544 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3472, allocations: 0 / 0.544 GB, free: 12.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005651/0.3477, allocations: 248.5 kB / 0.5442 GB, free: 12.02 MB / 426.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.0004355/0.3482, allocations: 271.8 kB / 0.5444 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005768/0.3487, allocations: 381.7 kB / 0.5448 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3487, allocations: 3.5 kB / 0.5448 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.3492, allocations: 383.4 kB / 0.5452 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.35, allocations: 327.4 kB / 0.5455 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3516, allocations: 1.155 MB / 0.5466 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.776e-05/0.3517, allocations: 166.5 kB / 0.5468 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005381/0.3522, allocations: 417.8 kB / 0.5472 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.3524, allocations: 98 kB / 0.5473 GB, free: 10.59 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3524, allocations: 0 / 0.5473 GB, free: 10.59 MB / 426.7 MB Notification: Performance of Templates: time 0.01533/0.3677, allocations: 14.93 MB / 0.5619 GB, free: 13.64 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.983280986081809]