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.001033/0.001033, allocations: 90.98 kB / 18 MB, free: 5.734 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.001306/0.001306, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.435/1.435, allocations: 223.3 MB / 242.9 MB, free: 8 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1969/0.1969, allocations: 44.24 MB / 338.3 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00249/0.1128, allocations: 1.733 MB / 474.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1147, allocations: 1.123 MB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1149, allocations: 4 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1152, allocations: 51.64 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1156, allocations: 135.5 kB / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1169, allocations: 0.5566 MB / 476.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.1174, allocations: 299 kB / 476.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.1176, allocations: 88.55 kB / 476.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1178, allocations: 115.5 kB / 477 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1181, allocations: 179.2 kB / 477.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.1181, allocations: 8 kB / 477.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1183, allocations: 47.98 kB / 477.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1185, allocations: 135.6 kB / 477.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1186, allocations: 184.4 kB / 477.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.119, allocations: 287.4 kB / 477.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.119, allocations: 0 / 477.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.119, allocations: 0 / 477.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.119, allocations: 0 / 477.8 MB, free: 8.402 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.000993/0.12, allocations: 0.7098 MB / 478.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1201, allocations: 8.031 kB / 478.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1202, allocations: 64.27 kB / 478.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.1207, allocations: 443.8 kB / 479 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1208, allocations: 8.375 kB / 479.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.1208, allocations: 12.12 kB / 479.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.1212, allocations: 175.2 kB / 479.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1212, allocations: 0 / 479.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1212, allocations: 4 kB / 479.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1212, allocations: 4 kB / 479.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.1216, allocations: 131.9 kB / 479.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1226, allocations: 0.7112 MB / 480.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.123, allocations: 141.2 kB / 480.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1231, allocations: 77.8 kB / 480.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1232, allocations: 4 kB / 480.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1232, allocations: 38.5 kB / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1232, allocations: 0 / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002201/0.1254, allocations: 0.8024 MB / 481.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1255, allocations: 81.11 kB / 481.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/0.1264, allocations: 0.8546 MB / 482.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1265, allocations: 33.7 kB / 482.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1266, allocations: 252.5 kB / 482.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1267, allocations: 67 kB / 482.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.1268, allocations: 29.66 kB / 482.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1269, allocations: 374.6 kB / 482.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.1273, allocations: 127.9 kB / 482.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.1276, allocations: 141.6 kB / 483.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.1282, allocations: 285.5 kB / 483.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1282, allocations: 0 / 483.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007761/0.129, allocations: 372.8 kB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1291, allocations: 4 kB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1291, allocations: 192 / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1291, allocations: 3.984 kB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.1294, allocations: 71.83 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1294, allocations: 0 / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1296, allocations: 32.72 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1297, allocations: 4 kB / 483.8 MB, free: 2.129 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.0002227/0.1299, allocations: 229.6 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/0.13, allocations: 55.25 kB / 484.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008974/0.1309, allocations: 429.8 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1309, allocations: 4 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1309, allocations: 0 / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1309, allocations: 0 / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.1324, allocations: 0.9775 MB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1324, allocations: 0 / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1327, allocations: 55.95 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1327, allocations: 0 / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1327, allocations: 15.98 kB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1327, allocations: 3.938 kB / 485.6 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1327, allocations: 7.938 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.1336, allocations: 0.5288 MB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.1337, allocations: 152.4 kB / 486.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.1338, allocations: 4 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.1341, allocations: 35.91 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.1342, allocations: 19.97 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1342, allocations: 11.94 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006547/0.1348, allocations: 0.6198 MB / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1348, allocations: 0 / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1352, allocations: 60 kB / 487 MB, free: 14.83 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.0009241/0.1362, allocations: 403.2 kB / 487.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007252/0.1369, allocations: 299.7 kB / 487.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1369, allocations: 0 / 487.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.1373, allocations: 163.8 kB / 487.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.1379, allocations: 76.44 kB / 487.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.1394, allocations: 1.11 MB / 489.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.1399, allocations: 0.8694 MB / 489.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.14, allocations: 43.42 kB / 490 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.14, allocations: 0 / 490 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.00965/0.1497, allocations: 5.973 MB / 495.9 MB, free: 6.023 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 -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