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.001693/0.001693, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002163/0.002163, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.531/1.531, 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.2342/0.2342, allocations: 46.9 MB / 361.1 MB, free: 4.641 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.002371/0.002371, allocations: 91.77 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3929, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2344/0.6274, allocations: 178 MB / 0.7351 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3909/1.018, allocations: 5.381 MB / 0.7403 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/1.019, allocations: 18.66 kB / 0.7403 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/1.02, allocations: 323.6 kB / 0.7406 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004409/1.025, allocations: 1.362 MB / 0.742 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/1.028, allocations: 1.065 MB / 0.743 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002508/1.031, allocations: 1.863 MB / 0.7448 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006293/1.031, allocations: 393.7 kB / 0.7452 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/1.033, allocations: 1.098 MB / 0.7463 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/1.035, allocations: 0.8053 MB / 0.7471 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/1.035, allocations: 62.27 kB / 0.7471 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/1.036, allocations: 0.6367 MB / 0.7477 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/1.037, allocations: 270.8 kB / 0.748 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/1.037, allocations: 395.1 kB / 0.7484 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/1.039, allocations: 1.314 MB / 0.7497 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.039, allocations: 0 / 0.7497 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/1.039, allocations: 0.9375 kB / 0.7497 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.267e-05/1.039, allocations: 1.094 kB / 0.7497 GB, free: 1.562 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.002354/1.041, allocations: 1.125 MB / 0.7508 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/1.041, allocations: 7.344 kB / 0.7508 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/1.042, allocations: 137.7 kB / 0.7509 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/1.043, allocations: 0.533 MB / 0.7514 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.043, allocations: 107.4 kB / 0.7515 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/1.043, allocations: 47.67 kB / 0.7516 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.044, allocations: 0.8177 MB / 0.7524 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/1.044, allocations: 7.438 kB / 0.7524 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/1.044, allocations: 28.73 kB / 0.7524 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/1.044, allocations: 37.16 kB / 0.7524 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/1.045, allocations: 0.6226 MB / 0.753 GB, free: 16.35 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.004482/1.05, allocations: 3.941 MB / 0.7569 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/1.05, allocations: 347.2 kB / 0.7572 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/1.05, allocations: 159.1 kB / 0.7574 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/1.051, allocations: 94.92 kB / 0.7575 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.051, allocations: 37.97 kB / 0.7575 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/1.051, allocations: 0 / 0.7575 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005475/1.056, allocations: 1.682 MB / 0.7591 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/1.056, allocations: 138.8 kB / 0.7593 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/1.057, allocations: 0.6126 MB / 0.7599 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/1.057, allocations: 36.11 kB / 0.7599 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/1.057, allocations: 374.2 kB / 0.7603 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/1.057, allocations: 150.7 kB / 0.7604 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/1.057, allocations: 158.4 kB / 0.7606 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.058, allocations: 376.2 kB / 0.7609 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/1.058, allocations: 202.7 kB / 0.7611 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/1.059, allocations: 0.5137 MB / 0.7616 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.06, allocations: 0.7529 MB / 0.7623 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/1.06, allocations: 3.031 kB / 0.7623 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001437/1.061, allocations: 0.8813 MB / 0.7632 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.061, allocations: 8.656 kB / 0.7632 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.061, allocations: 10.97 kB / 0.7632 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/1.063, allocations: 320.3 kB / 0.7635 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/1.063, allocations: 122.2 kB / 0.7636 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/1.064, allocations: 0.933 MB / 0.7646 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/1.065, allocations: 32.59 kB / 0.7646 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/1.065, allocations: 66.72 kB / 0.7647 GB, free: 10.73 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.0003566/1.065, allocations: 244.4 kB / 0.7649 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.065, allocations: 70.58 kB / 0.765 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/1.067, allocations: 0.8641 MB / 0.7658 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/1.067, allocations: 10.19 kB / 0.7658 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.067, allocations: 0.9688 kB / 0.7658 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.067, allocations: 2.672 kB / 0.7658 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/1.069, allocations: 1.46 MB / 0.7672 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.069, allocations: 2.969 kB / 0.7672 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.07, allocations: 211.3 kB / 0.7674 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.688e-05/1.07, allocations: 21.88 kB / 0.7675 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/1.07, allocations: 23.69 kB / 0.7675 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/1.072, allocations: 2.877 MB / 0.7703 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.072, allocations: 6.75 kB / 0.7703 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/1.073, allocations: 0.8291 MB / 0.7711 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/1.073, allocations: 185.7 kB / 0.7713 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.074, allocations: 14.06 kB / 0.7713 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/1.074, allocations: 26.27 kB / 0.7713 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/1.074, allocations: 36.48 kB / 0.7714 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/1.074, allocations: 46.91 kB / 0.7714 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004628/1.075, allocations: 437.8 kB / 0.7718 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.075, allocations: 0 / 0.7718 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009089/1.076, allocations: 256.7 kB / 0.7721 GB, free: 6.574 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.0007329/1.076, allocations: 301.4 kB / 0.7724 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009662/1.077, allocations: 0.5286 MB / 0.7729 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.077, allocations: 10.3 kB / 0.7729 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000928/1.078, allocations: 404.3 kB / 0.7733 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.08, allocations: 374 kB / 0.7736 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/1.082, allocations: 1.35 MB / 0.7749 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/1.082, allocations: 0.932 MB / 0.7759 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009137/1.083, allocations: 467.5 kB / 0.7763 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/1.083, allocations: 108.7 kB / 0.7764 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/1.083, allocations: 0 / 0.7764 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.02778/1.111, allocations: 17.95 MB / 0.7939 GB, free: 488 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 cvode -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.680554416961968]