Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001647/0.001647, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001979/0.001979, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.517/1.517, allocations: 230.3 MB / 258 MB, free: 8.195 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.93 MB / 361.4 MB, free: 4.398 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22") [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: 79.84 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4068, allocations: 66.04 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003705/0.4105, allocations: 2.053 MB / 0.5637 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.4132, allocations: 1.38 MB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.4133, allocations: 3.938 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.4137, allocations: 55.52 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.4142, allocations: 223.1 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.4156, allocations: 0.5905 MB / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005117/0.4161, allocations: 335 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.4163, allocations: 56.7 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.4166, allocations: 151.3 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.4169, allocations: 203.3 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.4169, allocations: 12 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.4171, allocations: 63.92 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.4173, allocations: 151.5 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.4174, allocations: 158.6 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.418, allocations: 412.6 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.418, allocations: 0 / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.418, allocations: 0 / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.418, allocations: 0 / 0.5673 GB, free: 14.74 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001145/0.4191, allocations: 0.7251 MB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4192, allocations: 12.03 kB / 0.5681 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.4195, allocations: 72.55 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.4202, allocations: 402.4 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4202, allocations: 12.38 kB / 0.5685 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.4202, allocations: 12.38 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.4206, allocations: 143.5 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4206, allocations: 7.938 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.4206, allocations: 8 kB / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4206, allocations: 0 / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.4209, allocations: 99.88 kB / 0.5688 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.4219, allocations: 0.6519 MB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.4222, allocations: 113.2 kB / 0.5695 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4223, allocations: 49.83 kB / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.4223, allocations: 0 / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.4223, allocations: 34.55 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.4223, allocations: 4 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001566/0.4239, allocations: 0.558 MB / 0.5702 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.424, allocations: 81.11 kB / 0.5702 GB, free: 11.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4251, allocations: 0.9101 MB / 0.5711 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.4252, allocations: 29.7 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.4254, allocations: 256.4 kB / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.4255, allocations: 51.52 kB / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.4256, allocations: 45.64 kB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.4258, allocations: 374.8 kB / 0.5718 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.4259, allocations: 59.95 kB / 0.5719 GB, free: 9.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.4261, allocations: 81.33 kB / 0.572 GB, free: 9.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.4265, allocations: 161.8 kB / 0.5721 GB, free: 9.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4265, allocations: 3.938 kB / 0.5721 GB, free: 9.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005357/0.4271, allocations: 253 kB / 0.5724 GB, free: 9.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4271, allocations: 6.188 kB / 0.5724 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4271, allocations: 0 / 0.5724 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4271, allocations: 7.984 kB / 0.5724 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.4273, allocations: 39.97 kB / 0.5724 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4273, allocations: 3.938 kB / 0.5724 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.4275, allocations: 19.98 kB / 0.5725 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4275, allocations: 7.984 kB / 0.5725 GB, free: 9.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002556/0.4277, allocations: 209.7 kB / 0.5727 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4279, allocations: 59.62 kB / 0.5727 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006525/0.4285, allocations: 295.2 kB / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4285, allocations: 0 / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4285, allocations: 8 kB / 0.573 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4285, allocations: 0 / 0.573 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.4298, allocations: 0.7816 MB / 0.5738 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4298, allocations: 0 / 0.5738 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.43, allocations: 39.91 kB / 0.5738 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.43, allocations: 0 / 0.5738 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.43, allocations: 8 kB / 0.5738 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.43, allocations: 0 / 0.5738 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.43, allocations: 0 / 0.5738 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.4306, allocations: 426.2 kB / 0.5742 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.4307, allocations: 67.61 kB / 0.5743 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.4308, allocations: 0 / 0.5743 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.431, allocations: 15.98 kB / 0.5743 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.431, allocations: 19.91 kB / 0.5743 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4311, allocations: 4 kB / 0.5743 GB, free: 7.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007889/0.4318, allocations: 0.663 MB / 0.575 GB, free: 6.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4318, allocations: 0 / 0.575 GB, free: 6.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000389/0.4322, allocations: 56 kB / 0.575 GB, free: 6.547 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001511/0.4337, allocations: 399.1 kB / 0.5754 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.4342, allocations: 155.8 kB / 0.5756 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4342, allocations: 0 / 0.5756 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.4344, allocations: 87.89 kB / 0.5756 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.435, allocations: 80.19 kB / 0.5757 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.4366, allocations: 0.9655 MB / 0.5767 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.4372, allocations: 0.8761 MB / 0.5775 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.4374, allocations: 87.22 kB / 0.5776 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.4375, allocations: 35.42 kB / 0.5776 GB, free: 3.953 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4375, allocations: 0 / 0.5776 GB, free: 3.953 MB / 414.1 MB Notification: Performance of Templates: time 0.00969/0.4471, allocations: 4.206 MB / 0.5817 GB, free: 15.76 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.345218851231039]