Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.38 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003451/0.1139, allocations: 2.038 MB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1158, allocations: 1.142 MB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1159, allocations: 11.88 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.1162, allocations: 63.5 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.1166, allocations: 151.3 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1178, allocations: 0.5908 MB / 474.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.1182, allocations: 311 kB / 475 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1184, allocations: 80.62 kB / 475.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1185, allocations: 135.4 kB / 475.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1188, allocations: 187.3 kB / 475.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1188, allocations: 16 kB / 475.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1189, allocations: 63.97 kB / 475.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1191, allocations: 147.5 kB / 475.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1193, allocations: 166.6 kB / 475.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.1196, allocations: 390.5 kB / 476.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1197, allocations: 0 / 476.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1197, allocations: 0 / 476.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1197, allocations: 0 / 476.2 MB, free: 8.188 MB / 350.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.00101/0.1207, allocations: 0.7774 MB / 476.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1207, allocations: 12.03 kB / 477 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.1208, allocations: 56.28 kB / 477 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.1214, allocations: 447.8 kB / 477.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1214, allocations: 8.375 kB / 477.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1215, allocations: 20.06 kB / 477.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1218, allocations: 156.9 kB / 477.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1218, allocations: 0 / 477.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1219, allocations: 8 kB / 477.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1219, allocations: 4 kB / 477.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.1222, allocations: 119.8 kB / 477.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1232, allocations: 0.7034 MB / 478.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1235, allocations: 133.2 kB / 478.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1236, allocations: 69.8 kB / 478.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1237, allocations: 0 / 478.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1237, allocations: 38.5 kB / 478.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1237, allocations: 4 kB / 478.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001967/0.1257, allocations: 0.732 MB / 479.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.1258, allocations: 81.3 kB / 479.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/0.1266, allocations: 0.8505 MB / 480.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1267, allocations: 33.64 kB / 480.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1269, allocations: 252.4 kB / 480.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.1269, allocations: 71 kB / 480.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.127, allocations: 37.7 kB / 480.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1272, allocations: 374.7 kB / 481.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.1274, allocations: 107.9 kB / 481.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.1277, allocations: 129.6 kB / 481.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.1283, allocations: 249.5 kB / 481.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1283, allocations: 0 / 481.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006574/0.1289, allocations: 332.8 kB / 481.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.129, allocations: 8.188 kB / 481.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.129, allocations: 3.984 kB / 481.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.129, allocations: 3.938 kB / 481.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.1293, allocations: 64.64 kB / 482 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1293, allocations: 0 / 482 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1295, allocations: 23.88 kB / 482 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.1295, allocations: 8 kB / 482 MB, free: 2.055 MB / 350.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.0002117/0.1297, allocations: 221.6 kB / 482.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1299, allocations: 51.34 kB / 482.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.1307, allocations: 397.8 kB / 482.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.1307, allocations: 4 kB / 482.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1307, allocations: 3.938 kB / 482.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1307, allocations: 4 kB / 482.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.1322, allocations: 0.9346 MB / 483.6 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1322, allocations: 4 kB / 483.6 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.1324, allocations: 55.94 kB / 483.7 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1325, allocations: 0 / 483.7 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.1325, allocations: 11.98 kB / 483.7 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1325, allocations: 3.938 kB / 483.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1325, allocations: 7.938 kB / 483.7 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.1332, allocations: 0.5023 MB / 484.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1334, allocations: 136.4 kB / 484.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.1335, allocations: 4 kB / 484.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.1337, allocations: 23.91 kB / 484.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.1338, allocations: 19.97 kB / 484.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1338, allocations: 8 kB / 484.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006492/0.1345, allocations: 0.6237 MB / 485 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1345, allocations: 8 kB / 485 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1349, allocations: 60 kB / 485.1 MB, free: 14.88 MB / 366.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.0009258/0.1358, allocations: 396.6 kB / 485.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.1365, allocations: 274 kB / 485.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1365, allocations: 0 / 485.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.1368, allocations: 143.8 kB / 485.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.1374, allocations: 77.09 kB / 486 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1388, allocations: 0.9587 MB / 486.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.1393, allocations: 0.8769 MB / 487.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.1395, allocations: 106.9 kB / 487.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1397, allocations: 39.42 kB / 487.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1397, allocations: 0 / 487.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.008446/0.1481, allocations: 4.375 MB / 492.3 MB, free: 7.785 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches