Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001073/0.001073, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.356/1.356, allocations: 222.9 MB / 243 MB, free: 15.08 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.2094/0.2094, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 60.12 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004051/0.1151, allocations: 2.02 MB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.117, allocations: 1.06 MB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1171, allocations: 4 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1174, allocations: 35.59 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.1178, allocations: 155.3 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.1187, allocations: 434.9 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.1191, allocations: 287 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1192, allocations: 56.7 kB / 474.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1194, allocations: 127.5 kB / 474.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1196, allocations: 191.3 kB / 475 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1197, allocations: 16 kB / 475.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1198, allocations: 59.92 kB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.12, allocations: 143.5 kB / 475.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1201, allocations: 162.7 kB / 475.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.1205, allocations: 386.5 kB / 475.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1205, allocations: 0 / 475.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1205, allocations: 0 / 475.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1206, allocations: 0 / 475.8 MB, free: 8.52 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.001166/0.1217, allocations: 0.762 MB / 476.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1218, allocations: 8.031 kB / 476.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.1219, allocations: 52.28 kB / 476.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.1225, allocations: 451.7 kB / 477.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1225, allocations: 8.375 kB / 477.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.1226, allocations: 20.11 kB / 477.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.1229, allocations: 144.9 kB / 477.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1229, allocations: 0 / 477.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1229, allocations: 11.94 kB / 477.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1229, allocations: 3.938 kB / 477.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.1233, allocations: 99.86 kB / 477.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.1241, allocations: 0.6605 MB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.1244, allocations: 117.2 kB / 478.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1246, allocations: 61.81 kB / 478.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1246, allocations: 15.92 kB / 478.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1246, allocations: 34.55 kB / 478.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1246, allocations: 0 / 478.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001824/0.1265, allocations: 0.6541 MB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1265, allocations: 85.05 kB / 479 MB, free: 5.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/0.1274, allocations: 0.8466 MB / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1275, allocations: 33.7 kB / 479.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1276, allocations: 248.3 kB / 480.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.1277, allocations: 67.08 kB / 480.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.1278, allocations: 41.7 kB / 480.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1279, allocations: 366.7 kB / 480.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1282, allocations: 91.92 kB / 480.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.1284, allocations: 109.9 kB / 480.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.1289, allocations: 213.7 kB / 481 MB, free: 3.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.129, allocations: 3.938 kB / 481 MB, free: 3.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000621/0.1296, allocations: 292.8 kB / 481.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1296, allocations: 12 kB / 481.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.1296, allocations: 0 / 481.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1296, allocations: 0 / 481.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.13, allocations: 55.94 kB / 481.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.13, allocations: 0 / 481.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.1302, allocations: 23.89 kB / 481.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1302, allocations: 8.734 kB / 481.3 MB, free: 2.699 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.0002041/0.1304, allocations: 217.7 kB / 481.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.1305, allocations: 51.34 kB / 481.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.1313, allocations: 345.8 kB / 481.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1313, allocations: 0 / 481.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1313, allocations: 4 kB / 481.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1313, allocations: 4 kB / 482 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.1326, allocations: 0.8724 MB / 482.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1326, allocations: 4 kB / 482.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1329, allocations: 55.89 kB / 482.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1329, allocations: 0 / 482.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1329, allocations: 8 kB / 482.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1329, allocations: 7.922 kB / 482.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1329, allocations: 3.984 kB / 482.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.1336, allocations: 474 kB / 483.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.1338, allocations: 132.5 kB / 483.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.1338, allocations: 0 / 483.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.1341, allocations: 23.92 kB / 483.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.1342, allocations: 23.97 kB / 483.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1342, allocations: 7.984 kB / 483.5 MB, free: 392 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006282/0.1348, allocations: 0.6237 MB / 484.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1348, allocations: 0 / 484.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.1352, allocations: 59.91 kB / 484.2 MB, free: 15.7 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.0008986/0.1361, allocations: 405.2 kB / 484.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006009/0.1367, allocations: 234 kB / 484.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1367, allocations: 0 / 484.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.137, allocations: 119.9 kB / 485 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.1376, allocations: 80.83 kB / 485.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1389, allocations: 0.9039 MB / 486 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1394, allocations: 0.8647 MB / 486.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.1396, allocations: 78.91 kB / 486.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1397, allocations: 40.17 kB / 486.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1397, allocations: 0 / 486.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.008261/0.148, allocations: 4.255 MB / 491.2 MB, free: 8.871 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches