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.001814/0.001814, 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.002248/0.002248, allocations: 216.5 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.517/1.517, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2402/0.2402, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.002497/0.002497, allocations: 79.86 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3075, allocations: 66 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004402/0.3119, allocations: 2.111 MB / 0.5633 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.3146, allocations: 1.329 MB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.3148, allocations: 4 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.315, allocations: 47.53 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.3157, allocations: 219 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.3168, allocations: 461.2 kB / 0.5653 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.3173, allocations: 319.1 kB / 0.5656 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.3175, allocations: 52.5 kB / 0.5656 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.3178, allocations: 155.3 kB / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.3182, allocations: 207.2 kB / 0.566 GB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.3183, allocations: 16 kB / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.3185, allocations: 79.89 kB / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3187, allocations: 139.5 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.3189, allocations: 166.6 kB / 0.5664 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.3194, allocations: 416.7 kB / 0.5668 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3194, allocations: 0 / 0.5668 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3194, allocations: 4 kB / 0.5668 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3194, allocations: 0 / 0.5668 GB, free: 15.36 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.001284/0.3207, allocations: 0.8199 MB / 0.5676 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3208, allocations: 8.031 kB / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.3212, allocations: 92.52 kB / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.322, allocations: 485 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.322, allocations: 8.375 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.3221, allocations: 8.375 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.3224, allocations: 147.5 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3224, allocations: 7.953 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3225, allocations: 4 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3225, allocations: 4 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.3228, allocations: 107.8 kB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3238, allocations: 0.6723 MB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.3242, allocations: 121.2 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3243, allocations: 53.81 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.3244, allocations: 7.984 kB / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3244, allocations: 34.56 kB / 0.5693 GB, free: 12.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3244, allocations: 7.938 kB / 0.5693 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002132/0.3265, allocations: 0.6983 MB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3266, allocations: 77.11 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3277, allocations: 0.8946 MB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3277, allocations: 25.7 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.3279, allocations: 272.3 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.328, allocations: 71.41 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.3281, allocations: 41.7 kB / 0.5713 GB, free: 10.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3283, allocations: 374.8 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.3286, allocations: 83.94 kB / 0.5717 GB, free: 10.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.3289, allocations: 117.6 kB / 0.5718 GB, free: 9.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.3294, allocations: 201.5 kB / 0.572 GB, free: 9.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3294, allocations: 0 / 0.572 GB, free: 9.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007442/0.3301, allocations: 321.1 kB / 0.5723 GB, free: 9.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3302, allocations: 4 kB / 0.5723 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3302, allocations: 0 / 0.5723 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3302, allocations: 0 / 0.5723 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3305, allocations: 56.17 kB / 0.5724 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3305, allocations: 4 kB / 0.5724 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.3307, allocations: 27.84 kB / 0.5724 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3307, allocations: 12 kB / 0.5724 GB, free: 9.27 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.0002356/0.331, allocations: 213.7 kB / 0.5726 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3311, allocations: 59.58 kB / 0.5727 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.332, allocations: 355 kB / 0.573 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.332, allocations: 4 kB / 0.573 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.332, allocations: 0 / 0.573 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.332, allocations: 0 / 0.573 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.3335, allocations: 0.8921 MB / 0.5739 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3335, allocations: 0 / 0.5739 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.3338, allocations: 55.89 kB / 0.574 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3338, allocations: 0 / 0.574 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3338, allocations: 8 kB / 0.574 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3338, allocations: 3.984 kB / 0.574 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3338, allocations: 4 kB / 0.574 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.3346, allocations: 480.4 kB / 0.5744 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.3348, allocations: 144.7 kB / 0.5746 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.3349, allocations: 8 kB / 0.5746 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.3351, allocations: 11.98 kB / 0.5746 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.3352, allocations: 31.84 kB / 0.5746 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3352, allocations: 11.98 kB / 0.5746 GB, free: 6.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008179/0.3361, allocations: 0.6513 MB / 0.5753 GB, free: 6.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3361, allocations: 0 / 0.5753 GB, free: 6.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.3365, allocations: 63.92 kB / 0.5753 GB, free: 6.199 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.001514/0.338, allocations: 395.2 kB / 0.5757 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006805/0.3387, allocations: 223.7 kB / 0.5759 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3387, allocations: 4 kB / 0.5759 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.339, allocations: 112.4 kB / 0.576 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.3396, allocations: 78.27 kB / 0.5761 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3412, allocations: 0.989 MB / 0.5771 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.3418, allocations: 0.8772 MB / 0.5779 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.342, allocations: 79.22 kB / 0.578 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3421, allocations: 39.42 kB / 0.578 GB, free: 3.492 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3421, allocations: 0 / 0.578 GB, free: 3.492 MB / 414.1 MB Notification: Performance of Templates: time 0.0102/0.3523, allocations: 4.46 MB / 0.5824 GB, free: 15.05 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 -s gbode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.1539909359999]