Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001332/0.001332, allocations: 194 kB / 18.77 MB, free: 4.742 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.317/1.317, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.218/0.218, allocations: 44.16 MB / 336.8 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 65 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1197, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003277/0.1231, allocations: 1.676 MB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1246, allocations: 1.047 MB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.1246, allocations: 4 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1249, allocations: 11.92 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1251, allocations: 35.91 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1255, allocations: 162.5 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1256, allocations: 67.77 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1257, allocations: 19.97 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.1258, allocations: 23.86 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1259, allocations: 35.84 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.126, allocations: 8 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1261, allocations: 43.97 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1262, allocations: 15.94 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.1262, allocations: 27.84 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1264, allocations: 72.12 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1264, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1264, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1264, allocations: 0 / 472.4 MB, free: 11.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005116/0.1269, allocations: 395.2 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.127, allocations: 12.03 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.127, allocations: 8.844 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1272, allocations: 184.3 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1273, allocations: 384 / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1273, allocations: 12.36 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1275, allocations: 75.52 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1275, allocations: 3.938 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1275, allocations: 0 / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1276, allocations: 4 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1277, allocations: 43.91 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.1282, allocations: 300.7 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1283, allocations: 50.55 kB / 473.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.1284, allocations: 28.88 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1284, allocations: 4 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1285, allocations: 34.5 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1285, allocations: 0 / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007953/0.1293, allocations: 229.2 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1294, allocations: 77.11 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1295, allocations: 137.8 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1295, allocations: 25.7 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1296, allocations: 92.14 kB / 474.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1296, allocations: 23.64 kB / 474.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1297, allocations: 21.72 kB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1298, allocations: 326.8 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1299, allocations: 35.97 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.13, allocations: 53.67 kB / 474.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.1303, allocations: 92.83 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1303, allocations: 0 / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002912/0.1306, allocations: 117.5 kB / 474.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1306, allocations: 4 kB / 474.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1306, allocations: 0 / 474.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1307, allocations: 4 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1308, allocations: 23.97 kB / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1308, allocations: 0 / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.1309, allocations: 11.94 kB / 474.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1309, allocations: 7.984 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001057/0.131, allocations: 118.4 kB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.131, allocations: 7.906 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.1314, allocations: 150.2 kB / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1314, allocations: 0 / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1314, allocations: 0 / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1314, allocations: 3.938 kB / 475.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.132, allocations: 406.5 kB / 475.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.132, allocations: 4 kB / 475.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.1321, allocations: 19.92 kB / 475.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1321, allocations: 288 / 475.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1321, allocations: 7.938 kB / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.1321, allocations: 7.922 kB / 475.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1321, allocations: 3.938 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1325, allocations: 215.4 kB / 475.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1325, allocations: 88.98 kB / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1326, allocations: 7.938 kB / 475.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.1327, allocations: 11.98 kB / 475.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.1327, allocations: 4 kB / 475.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1327, allocations: 0 / 475.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.1328, allocations: 110.5 kB / 476 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1328, allocations: 0 / 476 MB, free: 7.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1331, allocations: 32 kB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.001032/0.1341, allocations: 435.9 kB / 476.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.1345, allocations: 91.92 kB / 476.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1345, allocations: 3.938 kB / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1346, allocations: 47.91 kB / 476.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.135, allocations: 20.17 kB / 476.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.1355, allocations: 237.6 kB / 476.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1358, allocations: 0.6965 MB / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.1358, allocations: 19.44 kB / 477.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1359, allocations: 0 / 477.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of Templates: time 0.003868/0.1397, allocations: 1.805 MB / 479.3 MB, free: 4.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches