Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00154/0.00154, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001742/0.001742, allocations: 213.1 kB / 24.48 MB, free: 3.961 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.543/1.543, allocations: 230.6 MB / 258.2 MB, free: 7.77 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.2381/0.2381, allocations: 46.96 MB / 361.6 MB, free: 4.008 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.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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.0036/0.3725, allocations: 2.029 MB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3749, allocations: 1.346 MB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.375, allocations: 7.938 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.3753, allocations: 67.44 kB / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.3759, allocations: 211.1 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3773, allocations: 0.6259 MB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.3778, allocations: 362.9 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.378, allocations: 52.69 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.3783, allocations: 163.3 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.3786, allocations: 219.2 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.3787, allocations: 16 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3788, allocations: 67.97 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.379, allocations: 155.5 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.3792, allocations: 134.8 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.3797, allocations: 424.5 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3797, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3797, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3797, allocations: 4 kB / 0.5675 GB, free: 14.29 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.001193/0.3809, allocations: 0.7523 MB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3809, allocations: 8.031 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004411/0.3814, allocations: 100.4 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.3821, allocations: 427.2 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3821, allocations: 12.38 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.3822, allocations: 20.08 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.3825, allocations: 160.9 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3826, allocations: 7.938 kB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3826, allocations: 0 / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3826, allocations: 0 / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.3829, allocations: 119.9 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.384, allocations: 0.6251 MB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.3843, allocations: 129.2 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3845, allocations: 61.81 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.3845, allocations: 3.984 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3845, allocations: 34.56 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3845, allocations: 4 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002184/0.3867, allocations: 0.7646 MB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.3868, allocations: 77.11 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3879, allocations: 0.9064 MB / 0.5716 GB, free: 9.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.3879, allocations: 29.7 kB / 0.5717 GB, free: 9.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.3881, allocations: 268.3 kB / 0.5719 GB, free: 9.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.964e-05/0.3882, allocations: 67.64 kB / 0.572 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.3883, allocations: 41.69 kB / 0.572 GB, free: 9.508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3885, allocations: 378.7 kB / 0.5724 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.3888, allocations: 115.9 kB / 0.5725 GB, free: 9.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.3891, allocations: 129.6 kB / 0.5726 GB, free: 8.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/0.3897, allocations: 253.6 kB / 0.5729 GB, free: 8.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3897, allocations: 3.938 kB / 0.5729 GB, free: 8.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007623/0.3905, allocations: 341 kB / 0.5732 GB, free: 8.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3905, allocations: 11.98 kB / 0.5732 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3905, allocations: 0 / 0.5732 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3905, allocations: 7.984 kB / 0.5732 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.3908, allocations: 51.89 kB / 0.5732 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3908, allocations: 0 / 0.5732 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.391, allocations: 23.97 kB / 0.5733 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.391, allocations: 8 kB / 0.5733 GB, free: 8.184 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.0002561/0.3913, allocations: 221.7 kB / 0.5735 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3914, allocations: 71.56 kB / 0.5736 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009329/0.3924, allocations: 395.2 kB / 0.5739 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3924, allocations: 4 kB / 0.5739 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3924, allocations: 0 / 0.5739 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3924, allocations: 0 / 0.5739 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3939, allocations: 0.8485 MB / 0.5748 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3939, allocations: 4 kB / 0.5748 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3942, allocations: 55.89 kB / 0.5748 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3942, allocations: 4 kB / 0.5748 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.3942, allocations: 11.98 kB / 0.5748 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3942, allocations: 0 / 0.5748 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3942, allocations: 0 / 0.5748 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.3951, allocations: 0.512 MB / 0.5753 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3952, allocations: 67.61 kB / 0.5754 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.3953, allocations: 8 kB / 0.5754 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.3955, allocations: 23.97 kB / 0.5754 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.3956, allocations: 19.91 kB / 0.5755 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3956, allocations: 11.98 kB / 0.5755 GB, free: 5.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007859/0.3964, allocations: 0.6669 MB / 0.5761 GB, free: 5.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3964, allocations: 0 / 0.5761 GB, free: 5.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.3968, allocations: 59.94 kB / 0.5762 GB, free: 5.152 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.001613/0.3984, allocations: 446.1 kB / 0.5766 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007088/0.3991, allocations: 251.8 kB / 0.5768 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3991, allocations: 0 / 0.5768 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.3995, allocations: 135.8 kB / 0.577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.4001, allocations: 73.98 kB / 0.577 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.4018, allocations: 1.035 MB / 0.5781 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4021, allocations: 283.2 kB / 0.5783 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.4022, allocations: 51.41 kB / 0.5784 GB, free: 3.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4022, allocations: 0 / 0.5784 GB, free: 3.02 MB / 414.1 MB Notification: Performance of Templates: time 0.01077/0.413, allocations: 6.566 MB / 0.5848 GB, free: 12.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 8.272297929011984]