Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001782/0.001782, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002226/0.002226, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2571/0.2571, allocations: 46.89 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 83.84 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3651, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.229/0.5941, allocations: 178 MB / 0.7351 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.337/0.9311, allocations: 5.374 MB / 0.7403 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.9318, allocations: 20.84 kB / 0.7403 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008551/0.9326, allocations: 325.2 kB / 0.7406 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.9361, allocations: 1.359 MB / 0.742 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.9386, allocations: 1.07 MB / 0.743 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002062/0.9407, allocations: 1.861 MB / 0.7448 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.9414, allocations: 396 kB / 0.7452 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.9438, allocations: 1.102 MB / 0.7463 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.9453, allocations: 0.8036 MB / 0.7471 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.9456, allocations: 61.31 kB / 0.7471 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.9472, allocations: 0.6299 MB / 0.7477 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/0.9475, allocations: 270.8 kB / 0.748 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006453/0.9481, allocations: 400 kB / 0.7484 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.9501, allocations: 1.312 MB / 0.7497 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9501, allocations: 0.9375 kB / 0.7497 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9501, allocations: 0 / 0.7497 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.782e-05/0.9501, allocations: 2.203 kB / 0.7497 GB, free: 1.574 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.002608/0.9528, allocations: 1.123 MB / 0.7508 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.9528, allocations: 10.06 kB / 0.7508 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.9537, allocations: 141 kB / 0.7509 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000869/0.9545, allocations: 0.5274 MB / 0.7514 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.9546, allocations: 103.4 kB / 0.7515 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.9547, allocations: 52.67 kB / 0.7516 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.9558, allocations: 0.8203 MB / 0.7524 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.9558, allocations: 3.094 kB / 0.7524 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/0.9559, allocations: 26.14 kB / 0.7524 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.9559, allocations: 40.55 kB / 0.7524 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.9568, allocations: 0.6175 MB / 0.753 GB, free: 16.36 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.004265/0.961, allocations: 3.942 MB / 0.7569 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.9615, allocations: 345.2 kB / 0.7572 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.9618, allocations: 158.7 kB / 0.7574 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.9619, allocations: 94.27 kB / 0.7575 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.9619, allocations: 44.64 kB / 0.7575 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.9619, allocations: 0 / 0.7575 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005302/0.9672, allocations: 1.684 MB / 0.7591 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.9673, allocations: 137.3 kB / 0.7593 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.9679, allocations: 0.6133 MB / 0.7599 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.9679, allocations: 32.39 kB / 0.7599 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.9681, allocations: 376.2 kB / 0.7603 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.9682, allocations: 158 kB / 0.7604 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.9684, allocations: 153.8 kB / 0.7606 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.9686, allocations: 380 kB / 0.7609 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.9689, allocations: 200.4 kB / 0.7611 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.9695, allocations: 0.5117 MB / 0.7616 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.9703, allocations: 0.7507 MB / 0.7623 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.9703, allocations: 4.656 kB / 0.7623 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001234/0.9716, allocations: 0.8815 MB / 0.7632 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9716, allocations: 8.875 kB / 0.7632 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9716, allocations: 11.84 kB / 0.7632 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.9729, allocations: 319.3 kB / 0.7635 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.9732, allocations: 125.6 kB / 0.7637 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.9743, allocations: 0.9324 MB / 0.7646 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.9747, allocations: 32.61 kB / 0.7646 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.9748, allocations: 69.34 kB / 0.7647 GB, free: 10.74 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.0003092/0.9751, allocations: 240.8 kB / 0.7649 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.9752, allocations: 68.48 kB / 0.765 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.9766, allocations: 0.8641 MB / 0.7658 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.9766, allocations: 6.031 kB / 0.7658 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9766, allocations: 3.875 kB / 0.7658 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9766, allocations: 0 / 0.7658 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.9785, allocations: 1.463 MB / 0.7672 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9785, allocations: 0 / 0.7672 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.9795, allocations: 209.6 kB / 0.7674 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-05/0.9796, allocations: 29.28 kB / 0.7675 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.9797, allocations: 14.25 kB / 0.7675 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.982, allocations: 2.883 MB / 0.7703 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.982, allocations: 2.375 kB / 0.7703 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.9831, allocations: 0.827 MB / 0.7711 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.9834, allocations: 189.3 kB / 0.7713 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.9835, allocations: 13.58 kB / 0.7713 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.9839, allocations: 25.41 kB / 0.7713 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.9839, allocations: 41.81 kB / 0.7714 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.984, allocations: 45.11 kB / 0.7714 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004395/0.9844, allocations: 436.8 kB / 0.7718 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9844, allocations: 0 / 0.7718 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00087/0.9853, allocations: 264.1 kB / 0.7721 GB, free: 6.59 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.0007266/0.986, allocations: 293.7 kB / 0.7724 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009831/0.987, allocations: 0.5318 MB / 0.7729 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.987, allocations: 4.984 kB / 0.7729 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000928/0.988, allocations: 411.3 kB / 0.7733 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.9896, allocations: 373.7 kB / 0.7736 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.9916, allocations: 1.352 MB / 0.7749 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.9921, allocations: 0.9271 MB / 0.7759 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008986/0.993, allocations: 467 kB / 0.7763 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.9932, allocations: 117.7 kB / 0.7764 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.9932, allocations: 0 / 0.7764 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.02723/1.02, allocations: 17.96 MB / 0.7939 GB, free: 496 kB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.343282957095653]