Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 90.98 kB / 18 MB, free: 5.734 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.00135/0.001349, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.324/1.324, allocations: 223.3 MB / 243 MB, free: 15.88 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.1967/0.1967, allocations: 44.25 MB / 338.3 MB, free: 2.59 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1251, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002269/0.1274, allocations: 1.353 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000879/0.1283, allocations: 415.2 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.1284, allocations: 0 / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1287, allocations: 67.83 kB / 474.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1289, allocations: 43.89 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.1294, allocations: 131 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1296, allocations: 71.83 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1297, allocations: 19.97 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.1298, allocations: 27.86 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1299, allocations: 51.81 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1299, allocations: 4 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1301, allocations: 43.98 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.1301, allocations: 19.92 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.1302, allocations: 57.44 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1304, allocations: 83.81 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1304, allocations: 0 / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1304, allocations: 0 / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1304, allocations: 0 / 475.3 MB, free: 10.92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000529/0.131, allocations: 399.4 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.131, allocations: 15.97 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.1311, allocations: 12.75 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1313, allocations: 196.1 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1313, allocations: 8.375 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1313, allocations: 384 / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1315, allocations: 69.8 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1315, allocations: 4 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1316, allocations: 0 / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1316, allocations: 0 / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1317, allocations: 59.83 kB / 476 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.1322, allocations: 304.8 kB / 476.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.1324, allocations: 62.58 kB / 476.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.1325, allocations: 28.97 kB / 476.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1326, allocations: 4 kB / 476.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1326, allocations: 38.56 kB / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1326, allocations: 0 / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001569/0.1342, allocations: 464.8 kB / 476.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1342, allocations: 55.34 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1344, allocations: 210.1 kB / 477.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1345, allocations: 25.7 kB / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.1345, allocations: 108 kB / 477.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.1346, allocations: 39.44 kB / 477.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1346, allocations: 13.72 kB / 477.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1347, allocations: 330.8 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1349, allocations: 47.97 kB / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.135, allocations: 55.97 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.1353, allocations: 108.8 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1353, allocations: 4 kB / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003334/0.1356, allocations: 158 kB / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1357, allocations: 4 kB / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1357, allocations: 4 kB / 478.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1357, allocations: 0 / 478.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1358, allocations: 35.86 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1359, allocations: 4 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.1359, allocations: 15.98 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.136, allocations: 4 kB / 478.1 MB, free: 7.867 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 (11): * Single equations (assignments): 11 * 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.0001047/0.1361, allocations: 134.4 kB / 478.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.1361, allocations: 11.81 kB / 478.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.1365, allocations: 186.6 kB / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1365, allocations: 3.938 kB / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1366, allocations: 0 / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1366, allocations: 0 / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.1373, allocations: 484 kB / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1373, allocations: 0 / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1375, allocations: 36.03 kB / 478.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1375, allocations: 96 / 478.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1375, allocations: 11.94 kB / 479 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1375, allocations: 0 / 479 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1375, allocations: 0 / 479 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1379, allocations: 280.9 kB / 479.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.138, allocations: 89.02 kB / 479.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.138, allocations: 0 / 479.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.1381, allocations: 15.98 kB / 479.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.1381, allocations: 15.98 kB / 479.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1382, allocations: 4 kB / 479.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1383, allocations: 151.2 kB / 479.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1383, allocations: 0 / 479.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1386, allocations: 24 kB / 479.5 MB, free: 6.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001092/0.1397, allocations: 454.1 kB / 480 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.14, allocations: 131.9 kB / 480.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1401, allocations: 0 / 480.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1402, allocations: 64.03 kB / 480.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1406, allocations: 28.14 kB / 480.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.1412, allocations: 349 kB / 480.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1415, allocations: 0.7123 MB / 481.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1416, allocations: 15.44 kB / 481.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1416, allocations: 3.938 kB / 481.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Templates: time 0.004051/0.1456, allocations: 1.884 MB / 483.1 MB, free: 2.836 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches