Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.002014/0.002014, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002542/0.002542, allocations: 218.7 kB / 23 MB, free: 5.609 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.578/1.578, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2603/0.2603, allocations: 46.9 MB / 359.4 MB, free: 4.859 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 83.86 kB / 0.4947 GB, free: 8.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4411, allocations: 65.98 MB / 0.5591 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.005263/0.4464, allocations: 2.131 MB / 0.5612 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.4503, allocations: 1.415 MB / 0.5626 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.4505, allocations: 8 kB / 0.5626 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.4509, allocations: 63.42 kB / 0.5626 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007154/0.4516, allocations: 211.1 kB / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.4534, allocations: 0.6186 MB / 0.5634 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007276/0.4541, allocations: 358.9 kB / 0.5638 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.4543, allocations: 48.52 kB / 0.5638 GB, free: 216 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.4547, allocations: 155.4 kB / 0.564 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.4552, allocations: 219.1 kB / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.4553, allocations: 16 kB / 0.5642 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.4556, allocations: 67.92 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.4558, allocations: 151.5 kB / 0.5644 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.4562, allocations: 178.6 kB / 0.5646 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.4569, allocations: 424.4 kB / 0.565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4569, allocations: 3.938 kB / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4569, allocations: 0 / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.4569, allocations: 0 / 0.565 GB, free: 15.02 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.001282/0.4582, allocations: 0.8199 MB / 0.5658 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4582, allocations: 16.03 kB / 0.5658 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.4587, allocations: 96.47 kB / 0.5659 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.4596, allocations: 0.4892 MB / 0.5664 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4596, allocations: 8.375 kB / 0.5664 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.4598, allocations: 12.33 kB / 0.5664 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.4601, allocations: 174.7 kB / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4602, allocations: 0 / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4602, allocations: 0 / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4602, allocations: 4 kB / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.4606, allocations: 119.8 kB / 0.5667 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.4621, allocations: 0.7152 MB / 0.5674 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.4625, allocations: 121.2 kB / 0.5675 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.4626, allocations: 81.8 kB / 0.5676 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.4627, allocations: 0 / 0.5676 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.4627, allocations: 34.56 kB / 0.5676 GB, free: 12.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.4627, allocations: 0 / 0.5676 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002308/0.465, allocations: 0.7648 MB / 0.5683 GB, free: 11.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.4651, allocations: 85.03 kB / 0.5684 GB, free: 11.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.4664, allocations: 0.9064 MB / 0.5693 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.4664, allocations: 25.7 kB / 0.5693 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.4668, allocations: 272.3 kB / 0.5696 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.467, allocations: 63.44 kB / 0.5697 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/0.4671, allocations: 41.69 kB / 0.5697 GB, free: 9.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004645/0.4676, allocations: 378.8 kB / 0.5701 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.4679, allocations: 107.9 kB / 0.5702 GB, free: 9.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.4682, allocations: 132.4 kB / 0.5703 GB, free: 9.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.4688, allocations: 253.6 kB / 0.5705 GB, free: 9.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4688, allocations: 0 / 0.5705 GB, free: 9.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007664/0.4695, allocations: 349 kB / 0.5709 GB, free: 8.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4696, allocations: 8 kB / 0.5709 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4696, allocations: 4 kB / 0.5709 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.4696, allocations: 3.984 kB / 0.5709 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.4699, allocations: 51.95 kB / 0.5709 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4699, allocations: 0 / 0.5709 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.4701, allocations: 27.91 kB / 0.571 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.4701, allocations: 4 kB / 0.571 GB, free: 8.633 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.0002681/0.4704, allocations: 225.7 kB / 0.5712 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4705, allocations: 63.58 kB / 0.5712 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.4716, allocations: 403.1 kB / 0.5716 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4716, allocations: 4 kB / 0.5716 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4716, allocations: 8 kB / 0.5716 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4716, allocations: 0 / 0.5716 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.4733, allocations: 0.9464 MB / 0.5726 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4733, allocations: 4 kB / 0.5726 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.4735, allocations: 55.88 kB / 0.5726 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.4735, allocations: 4 kB / 0.5726 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.4735, allocations: 4 kB / 0.5726 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4736, allocations: 4 kB / 0.5726 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4736, allocations: 0 / 0.5726 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.4746, allocations: 0.5176 MB / 0.5731 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.4748, allocations: 148.7 kB / 0.5733 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.4748, allocations: 0 / 0.5733 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.475, allocations: 19.98 kB / 0.5733 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4752, allocations: 27.91 kB / 0.5733 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.4752, allocations: 7.984 kB / 0.5733 GB, free: 6.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008266/0.4761, allocations: 0.663 MB / 0.574 GB, free: 5.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4761, allocations: 0 / 0.574 GB, free: 5.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.4765, allocations: 60 kB / 0.574 GB, free: 5.383 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.001545/0.478, allocations: 408.6 kB / 0.5744 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007345/0.4788, allocations: 259.7 kB / 0.5747 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4788, allocations: 0 / 0.5747 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.4791, allocations: 131.8 kB / 0.5748 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.4797, allocations: 81.84 kB / 0.5749 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.4821, allocations: 1.024 MB / 0.5759 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.4829, allocations: 0.8996 MB / 0.5767 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.4833, allocations: 99.19 kB / 0.5768 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4834, allocations: 39.42 kB / 0.5769 GB, free: 2.531 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4834, allocations: 3.938 kB / 0.5769 GB, free: 2.527 MB / 414.1 MB Notification: Performance of Templates: time 0.01196/0.4954, allocations: 4.583 MB / 0.5814 GB, free: 13.96 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.606892641633749]