Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.005476/0.005476, allocations: 109.3 kB / 21.98 MB, free: 5.184 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.001426/0.001426, allocations: 220 kB / 25.29 MB, free: 3.203 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.438/1.438, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.236/0.236, allocations: 46.94 MB / 362.3 MB, free: 4.297 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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") [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.002342/0.002342, allocations: 83.81 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3599, allocations: 66.07 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003869/0.3638, allocations: 2.115 MB / 0.5648 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3661, allocations: 1.321 MB / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.3663, allocations: 4 kB / 0.5661 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3665, allocations: 51.45 kB / 0.5662 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.367, allocations: 215.1 kB / 0.5664 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.368, allocations: 460.6 kB / 0.5668 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.3685, allocations: 335.1 kB / 0.5671 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3687, allocations: 48.7 kB / 0.5672 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.3689, allocations: 155.3 kB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.3692, allocations: 211.3 kB / 0.5675 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.3693, allocations: 16 kB / 0.5675 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.3694, allocations: 63.8 kB / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.3696, allocations: 147.5 kB / 0.5677 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.3697, allocations: 182.5 kB / 0.5679 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.3702, allocations: 412.5 kB / 0.5683 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3702, allocations: 4 kB / 0.5683 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3702, allocations: 0 / 0.5683 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3703, allocations: 0 / 0.5683 GB, free: 14.55 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.001125/0.3714, allocations: 0.7484 MB / 0.569 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3714, allocations: 12.03 kB / 0.569 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.3718, allocations: 96.52 kB / 0.5691 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007025/0.3725, allocations: 415.2 kB / 0.5695 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3726, allocations: 12.38 kB / 0.5695 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.3726, allocations: 4.375 kB / 0.5695 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.3729, allocations: 147.5 kB / 0.5697 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3729, allocations: 7.938 kB / 0.5697 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.373, allocations: 4 kB / 0.5697 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.373, allocations: 8 kB / 0.5697 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.3732, allocations: 99.86 kB / 0.5698 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.3742, allocations: 0.644 MB / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3745, allocations: 121.2 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.3746, allocations: 49.81 kB / 0.5706 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.3747, allocations: 4 kB / 0.5706 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3747, allocations: 42.55 kB / 0.5706 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.3747, allocations: 224 / 0.5706 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001978/0.3767, allocations: 0.6905 MB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3767, allocations: 81.11 kB / 0.5714 GB, free: 11.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.3778, allocations: 0.9024 MB / 0.5723 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3778, allocations: 25.7 kB / 0.5723 GB, free: 10.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.378, allocations: 268.4 kB / 0.5726 GB, free: 9.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.3781, allocations: 71.42 kB / 0.5726 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.3782, allocations: 37.7 kB / 0.5727 GB, free: 9.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3784, allocations: 374.8 kB / 0.573 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.3786, allocations: 83.94 kB / 0.5731 GB, free: 9.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.3789, allocations: 117.6 kB / 0.5732 GB, free: 9.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.3794, allocations: 205.7 kB / 0.5734 GB, free: 9.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3794, allocations: 0 / 0.5734 GB, free: 9.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006893/0.3801, allocations: 309 kB / 0.5737 GB, free: 8.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3801, allocations: 8 kB / 0.5737 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3801, allocations: 3.984 kB / 0.5737 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3801, allocations: 0 / 0.5737 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.3804, allocations: 59.95 kB / 0.5738 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3804, allocations: 0 / 0.5738 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3806, allocations: 20.72 kB / 0.5738 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3806, allocations: 8 kB / 0.5738 GB, free: 8.684 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 (20): * Single equations (assignments): 20 * 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.0002399/0.3809, allocations: 217.7 kB / 0.574 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.381, allocations: 63.56 kB / 0.5741 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000831/0.3818, allocations: 362.4 kB / 0.5744 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3818, allocations: 0 / 0.5744 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3818, allocations: 4 kB / 0.5744 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3818, allocations: 0 / 0.5744 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.3832, allocations: 0.8557 MB / 0.5752 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3832, allocations: 0 / 0.5752 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.3835, allocations: 63.88 kB / 0.5753 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3835, allocations: 0 / 0.5753 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3835, allocations: 4 kB / 0.5753 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3835, allocations: 7.938 kB / 0.5753 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3835, allocations: 0 / 0.5753 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.3843, allocations: 488.5 kB / 0.5758 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3844, allocations: 63.61 kB / 0.5758 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.3845, allocations: 8 kB / 0.5759 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3847, allocations: 19.97 kB / 0.5759 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.3848, allocations: 23.84 kB / 0.5759 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3848, allocations: 11.98 kB / 0.5759 GB, free: 6.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007504/0.3856, allocations: 0.6591 MB / 0.5766 GB, free: 5.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3856, allocations: 384 / 0.5766 GB, free: 5.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.386, allocations: 64 kB / 0.5766 GB, free: 5.719 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 (20): * Single equations (assignments): 20 * 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.001492/0.3874, allocations: 393.6 kB / 0.577 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.3881, allocations: 215.7 kB / 0.5772 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3881, allocations: 0 / 0.5772 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.3884, allocations: 115.9 kB / 0.5773 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.389, allocations: 78.58 kB / 0.5774 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3905, allocations: 0.9831 MB / 0.5783 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.391, allocations: 0.8655 MB / 0.5792 GB, free: 3.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3912, allocations: 55.34 kB / 0.5792 GB, free: 3.094 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3912, allocations: 4 kB / 0.5792 GB, free: 3.09 MB / 414.1 MB Notification: Performance of Templates: time 0.009612/0.4008, allocations: 6.087 MB / 0.5852 GB, free: 13.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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: 7.970551916863769]