Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 106.9 kB / 16.64 MB, free: 5.918 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.001209/0.001208, allocations: 192.9 kB / 17.56 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2298/0.2298, allocations: 43.5 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 76.38 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1265, allocations: 57.79 MB / 440.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003348/0.1299, allocations: 2.005 MB / 442.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1316, allocations: 1.038 MB / 443.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1317, allocations: 4 kB / 443.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.132, allocations: 43.77 kB / 443.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.1324, allocations: 127.5 kB / 443.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1335, allocations: 0.5315 MB / 444.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1338, allocations: 275.2 kB / 444.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.134, allocations: 68.7 kB / 444.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1342, allocations: 123.5 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1344, allocations: 183.3 kB / 445 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.1344, allocations: 12 kB / 445.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1345, allocations: 43.97 kB / 445.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1347, allocations: 143.5 kB / 445.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1348, allocations: 154.7 kB / 445.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1351, allocations: 271.6 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1351, allocations: 0 / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1351, allocations: 0 / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1351, allocations: 0 / 445.7 MB, free: 2.328 MB / 318.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.0007545/0.1359, allocations: 0.7425 MB / 446.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1359, allocations: 11.89 kB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.136, allocations: 52.28 kB / 446.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.1364, allocations: 443.9 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1364, allocations: 8.375 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1365, allocations: 12.12 kB / 446.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1367, allocations: 153.3 kB / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1368, allocations: 11.88 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1368, allocations: 0 / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1368, allocations: 4 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.137, allocations: 95.88 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.1377, allocations: 0.6838 MB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.138, allocations: 113.2 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.1381, allocations: 45.81 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1381, allocations: 8 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1381, allocations: 42.5 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1382, allocations: 0 / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001457/0.1396, allocations: 0.5333 MB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.1397, allocations: 85.09 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009281/0.1406, allocations: 0.8506 MB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1407, allocations: 25.7 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1409, allocations: 252.2 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.1409, allocations: 47.27 kB / 449.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.141, allocations: 41.86 kB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1412, allocations: 366.7 kB / 450.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1413, allocations: 71.89 kB / 450.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1415, allocations: 81.66 kB / 450.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.1419, allocations: 161.6 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1419, allocations: 4 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004537/0.1423, allocations: 236.9 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1424, allocations: 4 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1424, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1424, allocations: 4 kB / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1426, allocations: 35.97 kB / 450.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1426, allocations: 0 / 450.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1428, allocations: 19.98 kB / 450.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1428, allocations: 7.984 kB / 450.9 MB, free: 12.85 MB / 334.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 (16): * Single equations (assignments): 16 * 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.0002121/0.143, allocations: 217.6 kB / 451.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.1431, allocations: 55.25 kB / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.1437, allocations: 283 kB / 451.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1437, allocations: 3.984 kB / 451.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1437, allocations: 4 kB / 451.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1438, allocations: 0 / 451.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1448, allocations: 0.7942 MB / 452.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1449, allocations: 4 kB / 452.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.145, allocations: 35.91 kB / 452.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.145, allocations: 4 kB / 452.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1451, allocations: 4 kB / 452.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.1451, allocations: 7.938 kB / 452.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1451, allocations: 0 / 452.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.1456, allocations: 414 kB / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1457, allocations: 132.5 kB / 452.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1458, allocations: 4 kB / 452.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.146, allocations: 23.86 kB / 452.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.146, allocations: 11.98 kB / 452.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1461, allocations: 7.984 kB / 452.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006444/0.1467, allocations: 0.6354 MB / 453.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1467, allocations: 0 / 453.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1471, allocations: 52 kB / 453.5 MB, free: 10.07 MB / 334.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 (16): * Single equations (assignments): 16 * 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.001001/0.1481, allocations: 405.9 kB / 453.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.1485, allocations: 171.8 kB / 454.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1485, allocations: 0 / 454.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1487, allocations: 92.34 kB / 454.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.1494, allocations: 75.14 kB / 454.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.1509, allocations: 1.034 MB / 455.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.1514, allocations: 0.8612 MB / 456.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1516, allocations: 43.42 kB / 456.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1516, allocations: 0 / 456.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of Templates: time 0.008982/0.1606, allocations: 5.566 MB / 461.8 MB, free: 1.832 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches