Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001317/0.001317, 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.001393/0.001393, 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.537/1.537, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2451/0.2451, allocations: 46.88 MB / 361.1 MB, free: 4.645 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.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") [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: 75.88 kB / 0.4968 GB, free: 8.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4183, allocations: 65.97 MB / 0.5612 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002704/0.421, allocations: 1.677 MB / 0.5628 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.4219, allocations: 0.5893 MB / 0.5634 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.4219, allocations: 0 / 0.5634 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.4225, allocations: 461.2 kB / 0.5639 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.4229, allocations: 297.1 kB / 0.5641 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.4233, allocations: 178.8 kB / 0.5643 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.4235, allocations: 171.1 kB / 0.5645 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4236, allocations: 17.81 kB / 0.5645 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4237, allocations: 109.5 kB / 0.5646 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.424, allocations: 257.5 kB / 0.5648 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.424, allocations: 3.062 kB / 0.5648 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.4241, allocations: 32.88 kB / 0.5649 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.025e-05/0.4242, allocations: 85.14 kB / 0.565 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.4242, allocations: 102 kB / 0.5651 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.4245, allocations: 271.2 kB / 0.5653 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4245, allocations: 0 / 0.5653 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4245, allocations: 0 / 0.5653 GB, free: 32.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.4245, allocations: 0 / 0.5653 GB, free: 32.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006147/0.4251, allocations: 0.6568 MB / 0.566 GB, free: 31.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4252, allocations: 9.031 kB / 0.566 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.4252, allocations: 49.86 kB / 0.566 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.4255, allocations: 298.9 kB / 0.5663 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.4255, allocations: 4.281 kB / 0.5663 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.4255, allocations: 7.391 kB / 0.5663 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.4256, allocations: 57.72 kB / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4257, allocations: 0.9375 kB / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4257, allocations: 6.969 kB / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4257, allocations: 2.781 kB / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.4258, allocations: 29.86 kB / 0.5664 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.4262, allocations: 395.6 kB / 0.5668 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.4264, allocations: 47.42 kB / 0.5668 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.4265, allocations: 17.86 kB / 0.5668 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.4265, allocations: 0 / 0.5668 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.4265, allocations: 33.8 kB / 0.5669 GB, free: 31.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.4265, allocations: 0 / 0.5669 GB, free: 31.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005945/0.4271, allocations: 243.4 kB / 0.5671 GB, free: 31.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.4272, allocations: 54.41 kB / 0.5672 GB, free: 31.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.4278, allocations: 0.8661 MB / 0.568 GB, free: 30.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.4279, allocations: 29.7 kB / 0.568 GB, free: 30.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.428, allocations: 229.9 kB / 0.5682 GB, free: 30.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.428, allocations: 18.11 kB / 0.5683 GB, free: 30.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.428, allocations: 17.06 kB / 0.5683 GB, free: 30.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.4281, allocations: 361.6 kB / 0.5686 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.4282, allocations: 22 kB / 0.5686 GB, free: 30.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.4283, allocations: 24.23 kB / 0.5687 GB, free: 30.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4284, allocations: 56.27 kB / 0.5687 GB, free: 30.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4284, allocations: 0 / 0.5687 GB, free: 30.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000195/0.4286, allocations: 130.4 kB / 0.5688 GB, free: 30 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4286, allocations: 8.5 kB / 0.5689 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4286, allocations: 6.625 kB / 0.5689 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4286, allocations: 0 / 0.5689 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.4287, allocations: 14.78 kB / 0.5689 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4287, allocations: 0 / 0.5689 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.4288, allocations: 10 kB / 0.5689 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.4288, allocations: 2.938 kB / 0.5689 GB, free: 30 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.4289, allocations: 213.9 kB / 0.5691 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.429, allocations: 49.8 kB / 0.5691 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.4292, allocations: 140.3 kB / 0.5693 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4292, allocations: 0 / 0.5693 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4292, allocations: 1.188 kB / 0.5693 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4293, allocations: 0 / 0.5693 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.4298, allocations: 476.4 kB / 0.5697 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4298, allocations: 288 / 0.5697 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.4299, allocations: 13.11 kB / 0.5697 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4299, allocations: 1.219 kB / 0.5697 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4299, allocations: 5.438 kB / 0.5697 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4299, allocations: 3.984 kB / 0.5698 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4299, allocations: 3.938 kB / 0.5698 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.4302, allocations: 224.1 kB / 0.57 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.4302, allocations: 109 kB / 0.5701 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.4303, allocations: 1.625 kB / 0.5701 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.4303, allocations: 10.72 kB / 0.5701 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4304, allocations: 14.06 kB / 0.5701 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.4304, allocations: 1.156 kB / 0.5701 GB, free: 29.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000827/0.4312, allocations: 0.6566 MB / 0.5707 GB, free: 28.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4312, allocations: 0 / 0.5707 GB, free: 28.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.4315, allocations: 26.59 kB / 0.5708 GB, free: 28.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001496/0.433, allocations: 398.5 kB / 0.5711 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.4332, allocations: 55.33 kB / 0.5712 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4332, allocations: 0 / 0.5712 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.4333, allocations: 27.2 kB / 0.5712 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4337, allocations: 30.36 kB / 0.5713 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4348, allocations: 0.8289 MB / 0.5721 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.4352, allocations: 0.8253 MB / 0.5729 GB, free: 27.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.192e-05/0.4353, allocations: 13.67 kB / 0.5729 GB, free: 27.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.4353, allocations: 13.3 kB / 0.5729 GB, free: 27.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4353, allocations: 0 / 0.5729 GB, free: 27.52 MB / 446.1 MB Notification: Performance of Templates: time 0.005762/0.441, allocations: 1.533 MB / 0.5744 GB, free: 27.32 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 5.358794009778649]