Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") 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: 96.09 kB / 18 MB, free: 5.738 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.001372/0.001372, allocations: 179.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.364/1.364, allocations: 223.3 MB / 243 MB, free: 216 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.1919/0.1919, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.000324, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.00228/0.1239, allocations: 1.29 MB / 474.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.1247, allocations: 411.4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.1248, allocations: 4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1251, allocations: 119.7 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1253, allocations: 79.83 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1256, allocations: 95.27 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1258, allocations: 83.86 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1259, allocations: 20.17 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.126, allocations: 43.77 kB / 475 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1261, allocations: 75.84 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1262, allocations: 4 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.452e-05/0.1263, allocations: 39.92 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.1263, allocations: 19.92 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.649e-05/0.1264, allocations: 65.38 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1266, allocations: 84.16 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1266, allocations: 4 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1266, allocations: 4 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1266, allocations: 0 / 475.3 MB, free: 10.89 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.0005559/0.1272, allocations: 414.9 kB / 475.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1272, allocations: 8.031 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1273, allocations: 20.73 kB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1275, allocations: 203.9 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1275, allocations: 4.359 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1276, allocations: 4.375 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1277, allocations: 61.61 kB / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1277, allocations: 0 / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1278, allocations: 0 / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.1278, allocations: 3.938 kB / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1279, allocations: 39.91 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.1284, allocations: 316.6 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.1285, allocations: 46.56 kB / 476.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.1286, allocations: 24.94 kB / 476.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.1286, allocations: 4 kB / 476.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1287, allocations: 38.5 kB / 476.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1287, allocations: 0 / 476.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009374/0.1296, allocations: 265 kB / 476.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1297, allocations: 55.41 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1299, allocations: 274.2 kB / 477.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1299, allocations: 25.7 kB / 477.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.13, allocations: 112.1 kB / 477.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.13, allocations: 27.64 kB / 477.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.1301, allocations: 9.719 kB / 477.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1302, allocations: 330.8 kB / 477.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.1303, allocations: 35.97 kB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.1304, allocations: 39.97 kB / 477.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1306, allocations: 85.05 kB / 477.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1306, allocations: 3.938 kB / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002262/0.1308, allocations: 121.5 kB / 477.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1308, allocations: 4 kB / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1308, allocations: 0 / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1309, allocations: 0 / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.131, allocations: 23.98 kB / 477.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.131, allocations: 3.938 kB / 477.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.131, allocations: 7.984 kB / 477.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1311, allocations: 4 kB / 477.9 MB, free: 8.105 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 (8): * Single equations (assignments): 8 * 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.0001124/0.1312, allocations: 138.3 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1312, allocations: 11.91 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.1315, allocations: 146.9 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1315, allocations: 3.938 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1315, allocations: 3.938 kB / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1316, allocations: 3.938 kB / 478.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.1321, allocations: 431.7 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1321, allocations: 0 / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.1322, allocations: 27.92 kB / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1322, allocations: 0 / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1322, allocations: 4 kB / 478.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1322, allocations: 3.938 kB / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1322, allocations: 4.031 kB / 478.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1325, allocations: 224.2 kB / 478.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.1326, allocations: 96.84 kB / 479 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1326, allocations: 8 kB / 479 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.1327, allocations: 8 kB / 479 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1327, allocations: 7.984 kB / 479 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1327, allocations: 4 kB / 479 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1329, allocations: 199.2 kB / 479.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1329, allocations: 4 kB / 479.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1332, allocations: 23.98 kB / 479.2 MB, free: 6.672 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 (8): * Single equations (assignments): 8 * 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.1342, allocations: 465.8 kB / 479.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1345, allocations: 83.94 kB / 479.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1345, allocations: 0 / 479.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1346, allocations: 43.92 kB / 479.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1349, allocations: 19.92 kB / 479.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.1355, allocations: 368.3 kB / 480.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1358, allocations: 0.7239 MB / 480.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1359, allocations: 15.42 kB / 480.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1359, allocations: 0 / 480.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003936/0.1398, allocations: 1.866 MB / 482.8 MB, free: 3.227 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches