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.001741/0.001741, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002007/0.002007, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.251/0.251, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.002777/0.002777, allocations: 83.84 kB / 0.4975 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3947, allocations: 66.07 MB / 0.562 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2616/0.6563, allocations: 178 MB / 0.7359 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4322/1.088, allocations: 5.375 MB / 0.7411 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/1.089, allocations: 30.38 kB / 0.7411 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009902/1.09, allocations: 323.9 kB / 0.7414 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004061/1.094, allocations: 1.367 MB / 0.7428 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/1.097, allocations: 1.085 MB / 0.7438 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002698/1.1, allocations: 1.881 MB / 0.7457 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/1.101, allocations: 386.8 kB / 0.746 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/1.103, allocations: 1.12 MB / 0.7471 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/1.105, allocations: 0.808 MB / 0.7479 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/1.105, allocations: 59.66 kB / 0.748 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/1.106, allocations: 0.6463 MB / 0.7486 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/1.107, allocations: 272.2 kB / 0.7489 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004327/1.107, allocations: 393.7 kB / 0.7492 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/1.109, allocations: 1.313 MB / 0.7505 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/1.109, allocations: 0 / 0.7505 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/1.109, allocations: 0 / 0.7505 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.952e-05/1.109, allocations: 0.9688 kB / 0.7505 GB, free: 1.551 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.002193/1.111, allocations: 1.043 MB / 0.7515 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.111, allocations: 10.48 kB / 0.7516 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007977/1.112, allocations: 140.3 kB / 0.7517 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/1.113, allocations: 482.4 kB / 0.7522 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/1.113, allocations: 158.1 kB / 0.7523 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/1.113, allocations: 46.81 kB / 0.7523 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.114, allocations: 0.8141 MB / 0.7531 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/1.114, allocations: 2.953 kB / 0.7531 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/1.114, allocations: 26.94 kB / 0.7532 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.305e-05/1.114, allocations: 36.98 kB / 0.7532 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/1.115, allocations: 0.6201 MB / 0.7538 GB, free: 16.43 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.004448/1.12, allocations: 3.894 MB / 0.7576 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/1.12, allocations: 340.6 kB / 0.7579 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/1.12, allocations: 159.4 kB / 0.7581 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/1.121, allocations: 11.88 kB / 0.7581 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/1.121, allocations: 51.78 kB / 0.7582 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/1.121, allocations: 0.8438 kB / 0.7582 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00525/1.126, allocations: 1.601 MB / 0.7597 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.126, allocations: 134.1 kB / 0.7598 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/1.127, allocations: 0.6153 MB / 0.7604 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/1.127, allocations: 32.42 kB / 0.7605 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/1.127, allocations: 374.6 kB / 0.7608 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/1.127, allocations: 152.7 kB / 0.761 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/1.127, allocations: 154.6 kB / 0.7611 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002053/1.127, allocations: 380.6 kB / 0.7615 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/1.128, allocations: 198.2 kB / 0.7617 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/1.128, allocations: 0.5182 MB / 0.7622 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.129, allocations: 0.7574 MB / 0.7629 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.129, allocations: 2.625 kB / 0.7629 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001405/1.131, allocations: 0.8776 MB / 0.7638 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.131, allocations: 11.31 kB / 0.7638 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.131, allocations: 8.219 kB / 0.7638 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/1.132, allocations: 323.1 kB / 0.7641 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.133, allocations: 123.6 kB / 0.7642 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/1.134, allocations: 0.9368 MB / 0.7651 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/1.134, allocations: 31.22 kB / 0.7652 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/1.134, allocations: 65.55 kB / 0.7652 GB, free: 11.04 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.0003547/1.135, allocations: 245.2 kB / 0.7655 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.135, allocations: 69.52 kB / 0.7655 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.136, allocations: 0.867 MB / 0.7664 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.136, allocations: 6.734 kB / 0.7664 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.136, allocations: 1.812 kB / 0.7664 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.136, allocations: 1.094 kB / 0.7664 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/1.138, allocations: 1.214 MB / 0.7676 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.138, allocations: 0 / 0.7676 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/1.139, allocations: 213.6 kB / 0.7678 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.191e-05/1.139, allocations: 28.94 kB / 0.7678 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/1.14, allocations: 14.59 kB / 0.7678 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/1.142, allocations: 2.679 MB / 0.7704 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.142, allocations: 2.812 kB / 0.7704 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.143, allocations: 0.817 MB / 0.7712 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/1.144, allocations: 121.1 kB / 0.7714 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/1.144, allocations: 11.75 kB / 0.7714 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/1.144, allocations: 11.64 kB / 0.7714 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/1.144, allocations: 47.69 kB / 0.7714 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/1.144, allocations: 41.72 kB / 0.7715 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005633/1.145, allocations: 440.6 kB / 0.7719 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/1.145, allocations: 0 / 0.7719 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009622/1.146, allocations: 255.2 kB / 0.7721 GB, free: 7.551 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.0006661/1.146, allocations: 276.8 kB / 0.7724 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.147, allocations: 0.5368 MB / 0.7729 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.147, allocations: 1.203 kB / 0.7729 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000983/1.148, allocations: 409.2 kB / 0.7733 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.15, allocations: 370.7 kB / 0.7737 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/1.152, allocations: 1.359 MB / 0.775 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/1.153, allocations: 0.9264 MB / 0.7759 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009951/1.154, allocations: 462.8 kB / 0.7763 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/1.154, allocations: 119.2 kB / 0.7764 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/1.154, allocations: 0 / 0.7764 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of Templates: time 0.03963/1.194, allocations: 18.1 MB / 0.7941 GB, free: 1.324 MB / 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.702053749933839]