Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001654/0.001654, allocations: 76.73 kB / 19.93 MB, free: 1.781 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.001877/0.001877, allocations: 166.4 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2269/0.2269, allocations: 32.39 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.809e-05/4.018e-05, allocations: 10.22 kB / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5504/0.5505, allocations: 155.6 MB / 0.5497 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009474/0.5599, allocations: 5.282 MB / 0.5549 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000962/0.5609, allocations: 31.69 kB / 0.5549 GB, free: 0 / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.5621, allocations: 309.8 kB / 0.5552 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005897/0.568, allocations: 1.632 MB / 0.5568 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004309/0.5723, allocations: 1.287 MB / 0.5581 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.5757, allocations: 1.89 MB / 0.5599 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008433/0.5765, allocations: 393.6 kB / 0.5603 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.5804, allocations: 1.495 MB / 0.5618 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.5822, allocations: 0.7204 MB / 0.5625 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.5823, allocations: 63.94 kB / 0.5625 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.5852, allocations: 0.7486 MB / 0.5633 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005301/0.5857, allocations: 287.1 kB / 0.5635 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.5863, allocations: 279.4 kB / 0.5638 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.5891, allocations: 1.539 MB / 0.5653 GB, free: 5.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5891, allocations: 4 kB / 0.5653 GB, free: 5.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5891, allocations: 0 / 0.5653 GB, free: 5.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.5892, allocations: 0 / 0.5653 GB, free: 5.371 MB / 446.1 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.002682/0.5918, allocations: 1.069 MB / 0.5663 GB, free: 4.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.5919, allocations: 8.031 kB / 0.5664 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.5928, allocations: 143.4 kB / 0.5665 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.5937, allocations: 482 kB / 0.5669 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.5939, allocations: 164.8 kB / 0.5671 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.5941, allocations: 51.89 kB / 0.5672 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.5958, allocations: 1.169 MB / 0.5683 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.5958, allocations: 4 kB / 0.5683 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.5959, allocations: 24 kB / 0.5683 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/0.5959, allocations: 40.92 kB / 0.5684 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5971, allocations: 0.6088 MB / 0.569 GB, free: 1.375 MB / 446.1 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.004761/0.6018, allocations: 3.222 MB / 0.5721 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.6025, allocations: 339.7 kB / 0.5724 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.6028, allocations: 157.3 kB / 0.5726 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/0.6032, allocations: 149.9 kB / 0.5727 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.6032, allocations: 38.84 kB / 0.5728 GB, free: 13.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.6032, allocations: 0 / 0.5728 GB, free: 13.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005933/0.6091, allocations: 1.588 MB / 0.5743 GB, free: 11.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.6093, allocations: 136.5 kB / 0.5744 GB, free: 11.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.61, allocations: 0.5299 MB / 0.575 GB, free: 11.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.61, allocations: 37.7 kB / 0.575 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.6104, allocations: 380.2 kB / 0.5754 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.6105, allocations: 146.7 kB / 0.5755 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.6108, allocations: 154.6 kB / 0.5756 GB, free: 10.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.611, allocations: 374.7 kB / 0.576 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.6114, allocations: 201.9 kB / 0.5762 GB, free: 9.711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/0.6123, allocations: 0.5889 MB / 0.5768 GB, free: 8.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.6135, allocations: 0.7601 MB / 0.5775 GB, free: 8.062 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6135, allocations: 0 / 0.5775 GB, free: 8.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001624/0.6151, allocations: 0.8688 MB / 0.5784 GB, free: 7.184 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6151, allocations: 8 kB / 0.5784 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6152, allocations: 12 kB / 0.5784 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.6168, allocations: 313.5 kB / 0.5787 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.6172, allocations: 127.8 kB / 0.5788 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.6185, allocations: 0.927 MB / 0.5797 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.6191, allocations: 31.98 kB / 0.5797 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.6192, allocations: 64 kB / 0.5798 GB, free: 5.688 MB / 462.1 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.0004956/0.6197, allocations: 251.7 kB / 0.58 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.6199, allocations: 59.62 kB / 0.5801 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.6215, allocations: 0.6808 MB / 0.5808 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6215, allocations: 6.375 kB / 0.5808 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6215, allocations: 0 / 0.5808 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.6215, allocations: 0 / 0.5808 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.6239, allocations: 1.164 MB / 0.5819 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6239, allocations: 0 / 0.5819 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.625, allocations: 211.9 kB / 0.5821 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.6251, allocations: 24.84 kB / 0.5821 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.6252, allocations: 16 kB / 0.5821 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.6276, allocations: 2.628 MB / 0.5847 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6276, allocations: 0 / 0.5847 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.629, allocations: 0.7978 MB / 0.5855 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.6292, allocations: 111.6 kB / 0.5856 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-05/0.6293, allocations: 11.94 kB / 0.5856 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.6297, allocations: 20.27 kB / 0.5856 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.6298, allocations: 43.69 kB / 0.5857 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.6299, allocations: 39.98 kB / 0.5857 GB, free: 15.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004904/0.6304, allocations: 358.8 kB / 0.586 GB, free: 14.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6304, allocations: 0 / 0.586 GB, free: 14.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001212/0.6316, allocations: 295.7 kB / 0.5863 GB, free: 14.69 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001187/0.6328, allocations: 400 kB / 0.5867 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.6341, allocations: 0.5278 MB / 0.5872 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6341, allocations: 3.859 kB / 0.5872 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.6352, allocations: 398.3 kB / 0.5876 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6367, allocations: 293.1 kB / 0.5879 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.6391, allocations: 1.228 MB / 0.5891 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.6395, allocations: 328.3 kB / 0.5894 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000794/0.6403, allocations: 257.2 kB / 0.5896 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.6406, allocations: 92.47 kB / 0.5897 GB, free: 11.12 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6406, allocations: 4 kB / 0.5897 GB, free: 11.11 MB / 478.1 MB Notification: Performance of Templates: time 0.03112/0.6717, allocations: 16.6 MB / 0.6059 GB, free: 10.59 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.551188725978136]