Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001637/0.001637, allocations: 106.5 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.001755/0.001755, allocations: 212 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.462/1.462, allocations: 230.3 MB / 258 MB, free: 8.215 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.2383/0.2383, allocations: 46.94 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 180] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002363/0.002363, allocations: 79.86 kB / 0.4972 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3935, allocations: 66.04 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00452/0.398, allocations: 2.072 MB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.4005, allocations: 1.15 MB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.4006, allocations: 4 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.4012, allocations: 267.1 kB / 0.5651 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.4018, allocations: 263 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.4035, allocations: 0.6564 MB / 0.566 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005835/0.4041, allocations: 362.8 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.4043, allocations: 56.56 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.4045, allocations: 155.4 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.4049, allocations: 231.1 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4049, allocations: 16 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.4052, allocations: 107.9 kB / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.4054, allocations: 99.61 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.4055, allocations: 123 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.4061, allocations: 357 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4061, allocations: 0 / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4061, allocations: 0 / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.4061, allocations: 0 / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009383/0.407, allocations: 0.601 MB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4071, allocations: 8.031 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/0.4072, allocations: 52.61 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.4076, allocations: 268.6 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4076, allocations: 8.375 kB / 0.5683 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.4076, allocations: 12.38 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.4079, allocations: 123 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.4079, allocations: 4.188 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.408, allocations: 7.938 kB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.408, allocations: 4 kB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.4082, allocations: 99.75 kB / 0.5686 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.409, allocations: 483.4 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.4092, allocations: 102.5 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.4093, allocations: 36.83 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.4093, allocations: 11.98 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.4094, allocations: 38.5 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.4094, allocations: 0 / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001048/0.4104, allocations: 458.7 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.4105, allocations: 55.31 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.4112, allocations: 0.5683 MB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.4112, allocations: 29.7 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4114, allocations: 208.4 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.4115, allocations: 63.47 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.4115, allocations: 29.72 kB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.4118, allocations: 358.8 kB / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4119, allocations: 63.95 kB / 0.571 GB, free: 10.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.412, allocations: 67.97 kB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.4123, allocations: 159.3 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4123, allocations: 0 / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004048/0.4127, allocations: 241.1 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4128, allocations: 11.94 kB / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4128, allocations: 3.938 kB / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4128, allocations: 0 / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.4129, allocations: 31.98 kB / 0.5715 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4129, allocations: 0 / 0.5715 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.413, allocations: 15.98 kB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.413, allocations: 8 kB / 0.5715 GB, free: 10.27 MB / 414.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 (17): * Single equations (assignments): 17 * 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.0002212/0.4133, allocations: 177.8 kB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.4133, allocations: 51.64 kB / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/0.4139, allocations: 271.6 kB / 0.572 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4139, allocations: 4 kB / 0.572 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4139, allocations: 3.984 kB / 0.572 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4139, allocations: 4 kB / 0.572 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009661/0.4149, allocations: 0.6495 MB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4149, allocations: 0 / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.415, allocations: 31.98 kB / 0.5726 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.415, allocations: 0 / 0.5726 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.415, allocations: 7.984 kB / 0.5726 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.415, allocations: 0 / 0.5726 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.415, allocations: 0 / 0.5726 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.4155, allocations: 345.9 kB / 0.573 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.4155, allocations: 27.77 kB / 0.573 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.4156, allocations: 8 kB / 0.573 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.4157, allocations: 3.984 kB / 0.573 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.4157, allocations: 15.98 kB / 0.573 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4157, allocations: 7.938 kB / 0.573 GB, free: 8.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004731/0.4162, allocations: 431.1 kB / 0.5734 GB, free: 8.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4162, allocations: 0 / 0.5734 GB, free: 8.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.4165, allocations: 51.92 kB / 0.5735 GB, free: 8.133 MB / 414.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 (17): * Single equations (assignments): 17 * 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.002892/0.4194, allocations: 0.6791 MB / 0.5741 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.4198, allocations: 163.8 kB / 0.5743 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4198, allocations: 11.88 kB / 0.5743 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.42, allocations: 90.22 kB / 0.5744 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.4206, allocations: 81.39 kB / 0.5745 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.422, allocations: 0.7284 MB / 0.5752 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.4226, allocations: 0.8299 MB / 0.576 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.4227, allocations: 57.91 kB / 0.5761 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.4228, allocations: 27.42 kB / 0.5761 GB, free: 5.703 MB / 414.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4228, allocations: 0 / 0.5761 GB, free: 5.703 MB / 414.1 MB Notification: Performance of Templates: time 0.009018/0.4318, allocations: 3.467 MB / 0.5795 GB, free: 2.246 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.176455529406667]