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.001068/0.001068, allocations: 94.88 kB / 17.35 MB, free: 6.371 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.001155/0.001155, allocations: 176.5 kB / 18.25 MB, free: 5.523 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.499/1.499, allocations: 223.3 MB / 242.3 MB, free: 232 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.2413/0.2413, allocations: 44.25 MB / 337.7 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 13.53 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 61.91 MB / 472.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00319/0.1284, allocations: 1.333 MB / 473.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1306, allocations: 1.027 MB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.1307, allocations: 4 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.131, allocations: 27.91 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1312, allocations: 31.86 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.1317, allocations: 158.7 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1319, allocations: 63.83 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1321, allocations: 12 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.1321, allocations: 27.86 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1323, allocations: 27.84 kB / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1323, allocations: 0 / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1325, allocations: 43.98 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.039e-05/0.1326, allocations: 27.91 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.1327, allocations: 45.56 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1329, allocations: 99.97 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1329, allocations: 3.938 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.133, allocations: 3.938 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.133, allocations: 0 / 475.2 MB, free: 10.44 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.0006728/0.1336, allocations: 379.3 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.1337, allocations: 8.031 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.1338, allocations: 12.84 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1341, allocations: 187.1 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1341, allocations: 8.375 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1341, allocations: 384 / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.1344, allocations: 83.45 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1344, allocations: 0 / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.1344, allocations: 7.984 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1344, allocations: 4 kB / 475.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.1346, allocations: 43.97 kB / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.1352, allocations: 308.8 kB / 476.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1354, allocations: 50.5 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.1355, allocations: 28.94 kB / 476.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.1355, allocations: 8 kB / 476.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1356, allocations: 34.55 kB / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1356, allocations: 0 / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009596/0.1365, allocations: 257.2 kB / 476.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1366, allocations: 81.09 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1368, allocations: 137.8 kB / 476.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1368, allocations: 29.64 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.1369, allocations: 96.05 kB / 476.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1369, allocations: 27.64 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1369, allocations: 9.719 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1371, allocations: 322.8 kB / 477.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1372, allocations: 51.95 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1374, allocations: 61.75 kB / 477.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.1376, allocations: 108.8 kB / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1376, allocations: 0 / 477.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003135/0.1379, allocations: 141.5 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.138, allocations: 8 kB / 477.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.138, allocations: 4 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.138, allocations: 288 / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1382, allocations: 27.98 kB / 477.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1382, allocations: 0 / 477.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.1382, allocations: 15.92 kB / 477.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1383, allocations: 4 kB / 477.7 MB, free: 7.703 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.0001005/0.1384, allocations: 122.3 kB / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.1384, allocations: 11.89 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1388, allocations: 153.9 kB / 478 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1388, allocations: 4 kB / 478 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1389, allocations: 0 / 478 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1389, allocations: 7.922 kB / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.1395, allocations: 422.4 kB / 478.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1395, allocations: 0 / 478.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.1396, allocations: 23.98 kB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1396, allocations: 0 / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1396, allocations: 7.938 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1396, allocations: 4 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1396, allocations: 0 / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.14, allocations: 247.7 kB / 478.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1401, allocations: 85.02 kB / 478.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1401, allocations: 7.922 kB / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.1402, allocations: 8 kB / 478.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.1402, allocations: 11.98 kB / 478.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1403, allocations: 7.938 kB / 478.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1404, allocations: 109.9 kB / 478.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1404, allocations: 4 kB / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1407, allocations: 24 kB / 478.9 MB, free: 6.363 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.001049/0.1417, allocations: 430.2 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.1421, allocations: 111.9 kB / 479.4 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1421, allocations: 0 / 479.4 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.1423, allocations: 59.91 kB / 479.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1426, allocations: 19.97 kB / 479.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.1431, allocations: 225.6 kB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1434, allocations: 0.7003 MB / 480.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1435, allocations: 24.23 kB / 480.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1436, allocations: 27.42 kB / 480.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1436, allocations: 0 / 480.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Templates: time 0.00461/0.1482, allocations: 1.437 MB / 481.9 MB, free: 3.461 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/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