Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001097/0.001097, allocations: 107 kB / 17.33 MB, free: 6 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.001237/0.001236, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.422/1.422, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2317/0.2317, allocations: 44.18 MB / 336.2 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.12 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003519/0.1254, allocations: 2.014 MB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1273, allocations: 1.119 MB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1274, allocations: 7.938 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1277, allocations: 39.77 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.1281, allocations: 131.6 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1293, allocations: 0.5496 MB / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.1297, allocations: 291.1 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1299, allocations: 76.58 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.1301, allocations: 131.4 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1303, allocations: 179.4 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1304, allocations: 12 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1305, allocations: 55.98 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.1307, allocations: 151.5 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1308, allocations: 154.8 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.1312, allocations: 358.7 kB / 474 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1312, allocations: 3.938 kB / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1312, allocations: 0 / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.1312, allocations: 3.938 kB / 474 MB, free: 9.453 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.0009958/0.1322, allocations: 0.7464 MB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1323, allocations: 8.031 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.58e-05/0.1324, allocations: 52.28 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.1329, allocations: 447.9 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.133, allocations: 8.375 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.133, allocations: 12.12 kB / 475.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.1333, allocations: 147 kB / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1334, allocations: 0 / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1334, allocations: 7.938 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1334, allocations: 4 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.1336, allocations: 95.88 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.1346, allocations: 0.6722 MB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1348, allocations: 121.2 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1349, allocations: 49.81 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.135, allocations: 4 kB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.135, allocations: 34.5 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.604e-06/0.135, allocations: 3.984 kB / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001465/0.1365, allocations: 0.5293 MB / 476.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1365, allocations: 85.09 kB / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.1375, allocations: 0.8544 MB / 477.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1375, allocations: 29.7 kB / 477.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1377, allocations: 256.2 kB / 478.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.1378, allocations: 51.25 kB / 478.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.1378, allocations: 33.7 kB / 478.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.138, allocations: 370.7 kB / 478.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1382, allocations: 63.89 kB / 478.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1384, allocations: 88.2 kB / 478.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.1387, allocations: 153.6 kB / 478.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1387, allocations: 224 / 478.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004542/0.1392, allocations: 236.9 kB / 479.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1392, allocations: 14.59 kB / 479.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.1392, allocations: 0 / 479.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1392, allocations: 4 kB / 479.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.1395, allocations: 35.97 kB / 479.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1395, allocations: 4.297 kB / 479.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1396, allocations: 15.94 kB / 479.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1397, allocations: 7.984 kB / 479.2 MB, free: 3.996 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 (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.0001939/0.1399, allocations: 213.7 kB / 479.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.14, allocations: 55.34 kB / 479.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/0.1406, allocations: 298.6 kB / 479.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1406, allocations: 4 kB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1406, allocations: 0 / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1406, allocations: 4 kB / 479.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.1417, allocations: 0.7825 MB / 480.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1417, allocations: 0 / 480.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.1419, allocations: 43.91 kB / 480.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1419, allocations: 0 / 480.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1419, allocations: 8 kB / 480.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1419, allocations: 3.938 kB / 480.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1419, allocations: 0 / 480.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.1424, allocations: 414 kB / 481 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1426, allocations: 132.5 kB / 481.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.1426, allocations: 3.938 kB / 481.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1428, allocations: 19.92 kB / 481.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.1429, allocations: 15.97 kB / 481.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1429, allocations: 11.98 kB / 481.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006273/0.1435, allocations: 0.6237 MB / 481.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1435, allocations: 0 / 481.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.1439, allocations: 51.91 kB / 481.8 MB, free: 1.23 MB / 350.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.001038/0.1449, allocations: 405 kB / 482.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.1454, allocations: 163.8 kB / 482.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1454, allocations: 0 / 482.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1456, allocations: 95.81 kB / 482.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.1463, allocations: 77.16 kB / 482.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1479, allocations: 1.025 MB / 483.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.1485, allocations: 0.8719 MB / 484.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.1487, allocations: 83.52 kB / 484.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1488, allocations: 39.42 kB / 484.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1488, allocations: 0 / 484.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Templates: time 0.008371/0.1572, allocations: 3.919 MB / 488.5 MB, free: 10.68 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches