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.001366/0.001366, allocations: 124 kB / 18.46 MB, free: 4.578 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.00146/0.00146, allocations: 213.6 kB / 21.42 MB, free: 1.625 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.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.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.4006/0.4006, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 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 0.001996/0.001996, allocations: 67.88 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1435, allocations: 66 MB / 0.5565 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5347/0.6782, allocations: 177.8 MB / 0.7302 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008224/0.6864, allocations: 5.354 MB / 0.7354 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.6871, allocations: 27.75 kB / 0.7354 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009409/0.688, allocations: 321.9 kB / 0.7357 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.6918, allocations: 1.367 MB / 0.7371 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.6947, allocations: 1.05 MB / 0.7381 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.6972, allocations: 1.852 MB / 0.7399 GB, free: 5.227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.698, allocations: 413.4 kB / 0.7403 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.7005, allocations: 1.106 MB / 0.7414 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.702, allocations: 0.7938 MB / 0.7422 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.7022, allocations: 64 kB / 0.7422 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.7038, allocations: 0.6396 MB / 0.7428 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.7041, allocations: 275.1 kB / 0.7431 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004995/0.7046, allocations: 394.2 kB / 0.7435 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.7067, allocations: 1.308 MB / 0.7448 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7067, allocations: 0 / 0.7448 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7067, allocations: 0 / 0.7448 GB, free: 252 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.7067, allocations: 0 / 0.7448 GB, free: 252 kB / 0.545 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.002503/0.7092, allocations: 1.117 MB / 0.7459 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7093, allocations: 8.031 kB / 0.7459 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008774/0.7101, allocations: 139.4 kB / 0.746 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.711, allocations: 0.5396 MB / 0.7465 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.7112, allocations: 104.4 kB / 0.7466 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/0.7113, allocations: 48 kB / 0.7467 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.7126, allocations: 0.8135 MB / 0.7475 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.7126, allocations: 3.938 kB / 0.7475 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.7127, allocations: 23.98 kB / 0.7475 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/0.7128, allocations: 40.97 kB / 0.7475 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.7139, allocations: 0.6243 MB / 0.7481 GB, free: 12.61 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.005083/0.719, allocations: 3.94 MB / 0.752 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.7196, allocations: 337.8 kB / 0.7523 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.7199, allocations: 165.8 kB / 0.7525 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.72, allocations: 93.38 kB / 0.7526 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.7201, allocations: 38.84 kB / 0.7526 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.7201, allocations: 0 / 0.7526 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006018/0.7261, allocations: 1.677 MB / 0.7542 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.7262, allocations: 144.5 kB / 0.7544 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.727, allocations: 0.6133 MB / 0.755 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.7271, allocations: 37.7 kB / 0.755 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.7274, allocations: 367.8 kB / 0.7553 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.7276, allocations: 150.7 kB / 0.7555 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.7278, allocations: 158.6 kB / 0.7556 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.728, allocations: 374.8 kB / 0.756 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.7284, allocations: 209.9 kB / 0.7562 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.7291, allocations: 0.5163 MB / 0.7567 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.7302, allocations: 0.7438 MB / 0.7574 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.7302, allocations: 4 kB / 0.7574 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00165/0.7318, allocations: 0.8804 MB / 0.7583 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.7319, allocations: 8 kB / 0.7583 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.7319, allocations: 12 kB / 0.7583 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.7334, allocations: 313.8 kB / 0.7586 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.7338, allocations: 119.8 kB / 0.7587 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.7352, allocations: 0.9463 MB / 0.7597 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.7359, allocations: 27.92 kB / 0.7597 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.736, allocations: 68.05 kB / 0.7597 GB, free: 15.97 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.0004651/0.7365, allocations: 245.4 kB / 0.76 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.7367, allocations: 71.58 kB / 0.76 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.7385, allocations: 0.8652 MB / 0.7609 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.7385, allocations: 4 kB / 0.7609 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.7385, allocations: 0 / 0.7609 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.7385, allocations: 3.938 kB / 0.7609 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.741, allocations: 1.461 MB / 0.7623 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.741, allocations: 4 kB / 0.7623 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.7421, allocations: 208.5 kB / 0.7625 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.7423, allocations: 28.83 kB / 0.7626 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.7423, allocations: 20 kB / 0.7626 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.7448, allocations: 2.872 MB / 0.7654 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.7448, allocations: 7.969 kB / 0.7654 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.7463, allocations: 0.827 MB / 0.7662 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.7467, allocations: 188.6 kB / 0.7664 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.7468, allocations: 16.06 kB / 0.7664 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.7472, allocations: 19.98 kB / 0.7664 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.7473, allocations: 39.89 kB / 0.7664 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.588e-05/0.7474, allocations: 43.98 kB / 0.7665 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006244/0.748, allocations: 435 kB / 0.7669 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.748, allocations: 0 / 0.7669 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001/0.749, allocations: 259.7 kB / 0.7672 GB, free: 7.898 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.0007251/0.7497, allocations: 279 kB / 0.7674 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.751, allocations: 0.5466 MB / 0.768 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.751, allocations: 8 kB / 0.768 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.752, allocations: 390.3 kB / 0.7683 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.7538, allocations: 372.2 kB / 0.7687 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.7563, allocations: 1.382 MB / 0.77 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.757, allocations: 0.9261 MB / 0.7709 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.7574, allocations: 131.4 kB / 0.7711 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/0.7574, allocations: 0 / 0.7711 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of Templates: time 0.02663/0.784, allocations: 16.67 MB / 0.7873 GB, free: 3.191 MB / 0.5919 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 -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: 11.63872999601881]