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.001035/0.001035, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0011/0.0011, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2453/0.2453, allocations: 34.26 MB / 296 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] 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.452e-06/1.452e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.718e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3107/0.3107, allocations: 170.8 MB / 0.536 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005782/0.3165, allocations: 5.406 MB / 0.5413 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.317, allocations: 26.81 kB / 0.5413 GB, free: 13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.3177, allocations: 318.5 kB / 0.5416 GB, free: 12.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.3206, allocations: 1.388 MB / 0.543 GB, free: 12.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.3227, allocations: 1.085 MB / 0.544 GB, free: 11.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3245, allocations: 1.882 MB / 0.5459 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/0.3251, allocations: 413.4 kB / 0.5463 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.327, allocations: 1.359 MB / 0.5476 GB, free: 9.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.3281, allocations: 0.7222 MB / 0.5483 GB, free: 9.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3282, allocations: 59.5 kB / 0.5484 GB, free: 9.262 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.3293, allocations: 0.5653 MB / 0.5489 GB, free: 9.008 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.3295, allocations: 289 kB / 0.5492 GB, free: 8.809 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.3298, allocations: 286.3 kB / 0.5495 GB, free: 8.676 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.3312, allocations: 1.091 MB / 0.5505 GB, free: 8.031 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3312, allocations: 2.219 kB / 0.5505 GB, free: 8.031 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3312, allocations: 0 / 0.5505 GB, free: 8.031 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.3313, allocations: 3.938 kB / 0.5505 GB, free: 8.027 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.001763/0.333, allocations: 1.142 MB / 0.5516 GB, free: 7.145 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3331, allocations: 8.5 kB / 0.5517 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/0.3338, allocations: 227.3 kB / 0.5519 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/0.3344, allocations: 488.6 kB / 0.5523 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3345, allocations: 160.7 kB / 0.5525 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.3346, allocations: 56.48 kB / 0.5525 GB, free: 6.496 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.3358, allocations: 1.006 MB / 0.5535 GB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3359, allocations: 3.938 kB / 0.5535 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.3359, allocations: 24.06 kB / 0.5535 GB, free: 5.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.336, allocations: 37.89 kB / 0.5536 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.3365, allocations: 313.2 kB / 0.5539 GB, free: 5.375 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.003152/0.3396, allocations: 3.872 MB / 0.5577 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.34, allocations: 220.1 kB / 0.5579 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3402, allocations: 95.06 kB / 0.558 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-05/0.3403, allocations: 16.28 kB / 0.558 GB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.3403, allocations: 41.67 kB / 0.558 GB, free: 1.266 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/0.3403, allocations: 0 / 0.558 GB, free: 1.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003061/0.3434, allocations: 1.158 MB / 0.5592 GB, free: 56 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.3435, allocations: 132.5 kB / 0.5593 GB, free: 15.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.3439, allocations: 0.5491 MB / 0.5598 GB, free: 15.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.344, allocations: 37.7 kB / 0.5599 GB, free: 15.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.3442, allocations: 427 kB / 0.5603 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3443, allocations: 154.7 kB / 0.5604 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3445, allocations: 160.2 kB / 0.5606 GB, free: 14.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004724/0.345, allocations: 0.5469 MB / 0.5611 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3451, allocations: 89.94 kB / 0.5612 GB, free: 13.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.3455, allocations: 0.6268 MB / 0.5618 GB, free: 13.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.3461, allocations: 0.6606 MB / 0.5624 GB, free: 12.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3461, allocations: 4 kB / 0.5624 GB, free: 12.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008828/0.347, allocations: 0.6484 MB / 0.5631 GB, free: 11.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.347, allocations: 8 kB / 0.5631 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.347, allocations: 12 kB / 0.5631 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/0.3478, allocations: 260.6 kB / 0.5633 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.348, allocations: 123 kB / 0.5635 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006283/0.3486, allocations: 1.006 MB / 0.5644 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3488, allocations: 31.98 kB / 0.5645 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.3489, allocations: 56 kB / 0.5645 GB, free: 10.02 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.0001661/0.3491, allocations: 208.3 kB / 0.5647 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.3492, allocations: 75.61 kB / 0.5648 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.35, allocations: 0.6769 MB / 0.5655 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.35, allocations: 4 kB / 0.5655 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.35, allocations: 0.5 kB / 0.5655 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.35, allocations: 11.92 kB / 0.5655 GB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3511, allocations: 0.941 MB / 0.5664 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3511, allocations: 3.375 kB / 0.5664 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.3516, allocations: 204 kB / 0.5666 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-05/0.3517, allocations: 19.67 kB / 0.5666 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.3517, allocations: 20 kB / 0.5666 GB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.3533, allocations: 3.549 MB / 0.5701 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3533, allocations: 4 kB / 0.5701 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.354, allocations: 0.5996 MB / 0.5707 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3541, allocations: 95.58 kB / 0.5708 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.3542, allocations: 16.19 kB / 0.5708 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3544, allocations: 19.92 kB / 0.5708 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.3544, allocations: 35.94 kB / 0.5708 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.3545, allocations: 36.86 kB / 0.5709 GB, free: 3.125 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.3547, allocations: 342.8 kB / 0.5712 GB, free: 2.793 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3547, allocations: 0 / 0.5712 GB, free: 2.793 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006344/0.3554, allocations: 251.7 kB / 0.5714 GB, free: 2.547 MB / 442.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.0005293/0.3559, allocations: 299.8 kB / 0.5717 GB, free: 2.246 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.3565, allocations: 378.6 kB / 0.5721 GB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3565, allocations: 0 / 0.5721 GB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.357, allocations: 398.2 kB / 0.5725 GB, free: 1.465 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.3578, allocations: 315.8 kB / 0.5728 GB, free: 1.184 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3596, allocations: 1.163 MB / 0.5739 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3597, allocations: 166.4 kB / 0.5741 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008578/0.3606, allocations: 414.8 kB / 0.5745 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.3607, allocations: 100.5 kB / 0.5746 GB, free: 15.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3607, allocations: 0 / 0.5746 GB, free: 15.27 MB / 458.7 MB Notification: Performance of Templates: time 0.0161/0.3768, allocations: 15.45 MB / 0.5896 GB, free: 72 kB / 458.7 MB " [Timeout remaining time 660] 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","",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.799917252967134]