Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2542/0.2542, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003823/0.3568, allocations: 2.017 MB / 0.5638 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.3594, allocations: 1.244 MB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.3596, allocations: 4 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3599, allocations: 55.5 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.3605, allocations: 215 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3615, allocations: 461.4 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.362, allocations: 334.9 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3622, allocations: 56.62 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.3624, allocations: 151.4 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.3627, allocations: 219.1 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.3628, allocations: 16 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3629, allocations: 63.98 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.3631, allocations: 143.4 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3633, allocations: 134.9 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.3638, allocations: 412.4 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3638, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.3638, allocations: 3.984 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3638, allocations: 8 kB / 0.5672 GB, free: 14.67 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.00117/0.365, allocations: 0.7406 MB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.365, allocations: 8.031 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.3655, allocations: 92.52 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.3662, allocations: 415.2 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3662, allocations: 12.38 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.3663, allocations: 20.11 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3666, allocations: 140.9 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3666, allocations: 7.953 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3666, allocations: 4 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3666, allocations: 4 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.3669, allocations: 99.86 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3679, allocations: 0.5939 MB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3682, allocations: 113.2 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.3684, allocations: 61.8 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3684, allocations: 4 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3684, allocations: 30.56 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.3684, allocations: 3.938 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002002/0.3704, allocations: 0.6873 MB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.3705, allocations: 85.11 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3716, allocations: 0.8946 MB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3717, allocations: 33.7 kB / 0.5711 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.3719, allocations: 264.3 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.372, allocations: 71.42 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.372, allocations: 33.89 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3722, allocations: 374.8 kB / 0.5718 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3725, allocations: 95.81 kB / 0.5719 GB, free: 9.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.3728, allocations: 113.6 kB / 0.572 GB, free: 9.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.3733, allocations: 213.5 kB / 0.5722 GB, free: 9.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3733, allocations: 4.125 kB / 0.5722 GB, free: 9.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006638/0.374, allocations: 301.1 kB / 0.5725 GB, free: 8.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.374, allocations: 6.656 kB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.374, allocations: 4 kB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.374, allocations: 4 kB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.3743, allocations: 55.88 kB / 0.5726 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3743, allocations: 4.219 kB / 0.5726 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3745, allocations: 20.17 kB / 0.5726 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.3745, allocations: 11.92 kB / 0.5726 GB, free: 8.875 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.0002316/0.3747, allocations: 213.7 kB / 0.5728 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3749, allocations: 75.52 kB / 0.5729 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/0.3757, allocations: 342.4 kB / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3757, allocations: 0 / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3757, allocations: 0 / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.3757, allocations: 4 kB / 0.5732 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3771, allocations: 0.7821 MB / 0.574 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3771, allocations: 0 / 0.574 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.3774, allocations: 55.95 kB / 0.574 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3774, allocations: 0 / 0.574 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3774, allocations: 11.98 kB / 0.5741 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3774, allocations: 0 / 0.5741 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3774, allocations: 0 / 0.5741 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.3782, allocations: 488.7 kB / 0.5745 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.3783, allocations: 71.98 kB / 0.5746 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.3784, allocations: 8 kB / 0.5746 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3786, allocations: 23.97 kB / 0.5746 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.3787, allocations: 23.91 kB / 0.5746 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3787, allocations: 7.938 kB / 0.5747 GB, free: 6.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008029/0.3795, allocations: 0.6552 MB / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3795, allocations: 0 / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.3799, allocations: 64 kB / 0.5754 GB, free: 6.012 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.001667/0.3816, allocations: 444.3 kB / 0.5758 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.3823, allocations: 208 kB / 0.576 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3823, allocations: 192 / 0.576 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.3826, allocations: 127.7 kB / 0.5761 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.3832, allocations: 77.56 kB / 0.5762 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3848, allocations: 0.9697 MB / 0.5771 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3851, allocations: 279.2 kB / 0.5774 GB, free: 4.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.3853, allocations: 79.22 kB / 0.5775 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3855, allocations: 43.42 kB / 0.5775 GB, free: 3.934 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3855, allocations: 4 kB / 0.5775 GB, free: 3.93 MB / 414.1 MB Notification: Performance of Templates: time 0.01159/0.397, allocations: 4.937 MB / 0.5823 GB, free: 15.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.1654442170111]