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.001593/0.001593, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001968/0.001968, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.242 MB / 206.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.2327/0.2327, allocations: 44.91 MB / 359.6 MB, free: 6.371 MB / 286.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.002058/0.002058, allocations: 63.89 kB / 0.4943 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 65.47 MB / 0.5583 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2361/0.5926, allocations: 178 MB / 0.7321 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4095/1.002, allocations: 5.377 MB / 0.7374 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009671/1.003, allocations: 26.94 kB / 0.7374 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/1.004, allocations: 326.1 kB / 0.7377 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003893/1.008, allocations: 1.371 MB / 0.739 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/1.011, allocations: 1.082 MB / 0.7401 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002919/1.014, allocations: 1.881 MB / 0.7419 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006401/1.015, allocations: 394 kB / 0.7423 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/1.017, allocations: 1.116 MB / 0.7434 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/1.018, allocations: 0.8006 MB / 0.7442 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/1.018, allocations: 61.25 kB / 0.7442 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/1.02, allocations: 0.6468 MB / 0.7449 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/1.02, allocations: 270.9 kB / 0.7451 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004027/1.02, allocations: 397.5 kB / 0.7455 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/1.022, allocations: 1.306 MB / 0.7468 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/1.022, allocations: 0 / 0.7468 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/1.022, allocations: 0.9062 kB / 0.7468 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.648e-05/1.022, allocations: 0 / 0.7468 GB, free: 1.672 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.002223/1.024, allocations: 1.048 MB / 0.7478 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.024, allocations: 10.91 kB / 0.7478 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/1.025, allocations: 141.8 kB / 0.748 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008663/1.026, allocations: 475.8 kB / 0.7484 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/1.026, allocations: 161.9 kB / 0.7486 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/1.026, allocations: 49.7 kB / 0.7486 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/1.027, allocations: 0.8226 MB / 0.7494 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/1.027, allocations: 5.406 kB / 0.7494 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/1.027, allocations: 21.06 kB / 0.7494 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/1.027, allocations: 41.34 kB / 0.7495 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/1.028, allocations: 0.6194 MB / 0.7501 GB, free: 16.55 MB / 0.5762 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.004488/1.033, allocations: 3.884 MB / 0.7539 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/1.033, allocations: 344.7 kB / 0.7542 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/1.033, allocations: 160 kB / 0.7544 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.686e-05/1.033, allocations: 17.48 kB / 0.7544 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.033, allocations: 41.47 kB / 0.7544 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/1.034, allocations: 3.984 kB / 0.7544 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005019/1.039, allocations: 1.608 MB / 0.756 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/1.039, allocations: 135.2 kB / 0.7561 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/1.039, allocations: 0.6134 MB / 0.7567 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/1.039, allocations: 33.77 kB / 0.7567 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/1.04, allocations: 375.6 kB / 0.7571 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/1.04, allocations: 151.3 kB / 0.7572 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/1.04, allocations: 157.2 kB / 0.7574 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.04, allocations: 374.8 kB / 0.7578 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/1.04, allocations: 204.7 kB / 0.758 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/1.041, allocations: 0.5175 MB / 0.7585 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/1.042, allocations: 0.7469 MB / 0.7592 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.042, allocations: 2 kB / 0.7592 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001295/1.043, allocations: 0.8878 MB / 0.7601 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.043, allocations: 10.66 kB / 0.7601 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.043, allocations: 8.281 kB / 0.7601 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/1.044, allocations: 312.1 kB / 0.7604 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/1.045, allocations: 127.5 kB / 0.7605 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/1.046, allocations: 0.9383 MB / 0.7614 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/1.046, allocations: 27.22 kB / 0.7614 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/1.046, allocations: 68.97 kB / 0.7615 GB, free: 11.16 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.0003577/1.047, allocations: 246.8 kB / 0.7617 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.047, allocations: 69.17 kB / 0.7618 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/1.048, allocations: 0.8592 MB / 0.7626 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.048, allocations: 6.406 kB / 0.7626 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.048, allocations: 2.906 kB / 0.7626 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.048, allocations: 2.531 kB / 0.7627 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/1.05, allocations: 1.212 MB / 0.7638 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.05, allocations: 6.594 kB / 0.7638 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009972/1.051, allocations: 216.7 kB / 0.764 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.892e-05/1.051, allocations: 23.22 kB / 0.7641 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/1.051, allocations: 19.81 kB / 0.7641 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/1.054, allocations: 2.675 MB / 0.7667 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.054, allocations: 4.156 kB / 0.7667 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/1.055, allocations: 0.8137 MB / 0.7675 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/1.055, allocations: 116 kB / 0.7676 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.826e-05/1.055, allocations: 13.38 kB / 0.7676 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/1.056, allocations: 22.03 kB / 0.7676 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/1.056, allocations: 41.36 kB / 0.7677 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/1.056, allocations: 44.77 kB / 0.7677 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005286/1.056, allocations: 437.8 kB / 0.7681 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/1.056, allocations: 0.9688 kB / 0.7681 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009855/1.057, allocations: 253 kB / 0.7684 GB, free: 7.684 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.0006621/1.058, allocations: 289.2 kB / 0.7687 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001063/1.059, allocations: 0.5352 MB / 0.7692 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.059, allocations: 2.531 kB / 0.7692 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008994/1.06, allocations: 395.1 kB / 0.7696 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.062, allocations: 366.8 kB / 0.7699 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/1.064, allocations: 1.406 MB / 0.7713 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/1.065, allocations: 0.9251 MB / 0.7722 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.065, allocations: 130.6 kB / 0.7723 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/1.065, allocations: 0 / 0.7723 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of Templates: time 0.02315/1.088, allocations: 16.66 MB / 0.7886 GB, free: 2.438 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 -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: 11.197687110165134]