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.001266/0.001266, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001483/0.001483, allocations: 207.4 kB / 25.12 MB, free: 3.59 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.442/1.442, allocations: 230.4 MB / 258.7 MB, free: 8.07 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.2264/0.2264, allocations: 46.92 MB / 362 MB, free: 4.309 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.002266/0.002266, allocations: 76.16 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3286, allocations: 66.07 MB / 0.5623 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003471/0.3321, allocations: 2.053 MB / 0.5643 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3344, allocations: 1.368 MB / 0.5657 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3345, allocations: 7.938 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3347, allocations: 55.5 kB / 0.5657 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.3353, allocations: 219.1 kB / 0.5659 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.3366, allocations: 0.5974 MB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.337, allocations: 335 kB / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3372, allocations: 56.7 kB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.3374, allocations: 147.4 kB / 0.567 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.3377, allocations: 207.2 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.3377, allocations: 12 kB / 0.5673 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3379, allocations: 59.98 kB / 0.5673 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.3381, allocations: 147.5 kB / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.3383, allocations: 170.6 kB / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.3387, allocations: 408.6 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3387, allocations: 4 kB / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3387, allocations: 0 / 0.568 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3387, allocations: 4 kB / 0.568 GB, free: 14.42 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.0009843/0.3397, allocations: 0.7174 MB / 0.5687 GB, free: 13.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3397, allocations: 11.97 kB / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.34, allocations: 76.55 kB / 0.5688 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.3407, allocations: 402.5 kB / 0.5692 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3407, allocations: 12.38 kB / 0.5692 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.3408, allocations: 12.38 kB / 0.5692 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.3411, allocations: 155.4 kB / 0.5693 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3411, allocations: 7.891 kB / 0.5694 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3411, allocations: 4 kB / 0.5694 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3411, allocations: 4 kB / 0.5694 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.3414, allocations: 99.92 kB / 0.5695 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.3423, allocations: 0.644 MB / 0.5701 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3425, allocations: 109.4 kB / 0.5702 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.3426, allocations: 49.83 kB / 0.5702 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.3427, allocations: 3.938 kB / 0.5702 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3427, allocations: 42.48 kB / 0.5703 GB, free: 11.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3427, allocations: 0 / 0.5703 GB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00151/0.3442, allocations: 0.5618 MB / 0.5708 GB, free: 11.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.3443, allocations: 77.11 kB / 0.5709 GB, free: 11.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3453, allocations: 0.9101 MB / 0.5718 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3453, allocations: 33.7 kB / 0.5718 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.3455, allocations: 252.4 kB / 0.5721 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.3456, allocations: 55.52 kB / 0.5721 GB, free: 10 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.3457, allocations: 37.7 kB / 0.5722 GB, free: 9.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3458, allocations: 374.8 kB / 0.5725 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.346, allocations: 63.95 kB / 0.5726 GB, free: 9.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.3463, allocations: 84.91 kB / 0.5727 GB, free: 9.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.3466, allocations: 153.6 kB / 0.5728 GB, free: 9.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3466, allocations: 0 / 0.5728 GB, free: 9.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005098/0.3471, allocations: 253.1 kB / 0.573 GB, free: 9.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3472, allocations: 6.344 kB / 0.5731 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3472, allocations: 0 / 0.5731 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3472, allocations: 4 kB / 0.5731 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.3474, allocations: 44.66 kB / 0.5731 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3474, allocations: 0 / 0.5731 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3475, allocations: 19.98 kB / 0.5731 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3475, allocations: 4 kB / 0.5731 GB, free: 8.953 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.0002285/0.3478, allocations: 217.7 kB / 0.5733 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3479, allocations: 55.62 kB / 0.5734 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006136/0.3485, allocations: 298.6 kB / 0.5737 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3485, allocations: 7.984 kB / 0.5737 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3485, allocations: 0 / 0.5737 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3485, allocations: 0 / 0.5737 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.3498, allocations: 0.7776 MB / 0.5744 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3498, allocations: 0 / 0.5744 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.35, allocations: 35.97 kB / 0.5745 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.35, allocations: 3.938 kB / 0.5745 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.35, allocations: 4 kB / 0.5745 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.35, allocations: 0 / 0.5745 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.35, allocations: 3.938 kB / 0.5745 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.3506, allocations: 426.2 kB / 0.5749 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.3507, allocations: 67.61 kB / 0.5749 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.3507, allocations: 4 kB / 0.575 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3509, allocations: 11.98 kB / 0.575 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.351, allocations: 27.89 kB / 0.575 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.351, allocations: 4 kB / 0.575 GB, free: 6.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009001/0.3519, allocations: 0.663 MB / 0.5756 GB, free: 6.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3519, allocations: 0 / 0.5756 GB, free: 6.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000395/0.3523, allocations: 52 kB / 0.5757 GB, free: 6.23 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.001591/0.3539, allocations: 402.2 kB / 0.5761 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3543, allocations: 159.8 kB / 0.5762 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3543, allocations: 0 / 0.5762 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.3546, allocations: 84.36 kB / 0.5763 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.3551, allocations: 86.58 kB / 0.5764 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.3566, allocations: 0.9539 MB / 0.5773 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.3571, allocations: 0.8731 MB / 0.5782 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.3574, allocations: 91.22 kB / 0.5783 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.3575, allocations: 39.42 kB / 0.5783 GB, free: 3.633 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3575, allocations: 0 / 0.5783 GB, free: 3.633 MB / 414.1 MB Notification: Performance of Templates: time 0.00965/0.3671, allocations: 4.207 MB / 0.5824 GB, free: 15.44 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/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.0348953870125115]