Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001181/0.001182, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2142/0.2142, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.44 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002927/0.1343, allocations: 1.631 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.1351, allocations: 447.1 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.1352, allocations: 8 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1355, allocations: 63.72 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1357, allocations: 51.81 kB / 471.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.1361, allocations: 174.2 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1362, allocations: 83.75 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1363, allocations: 19.98 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.1364, allocations: 35.86 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.1365, allocations: 51.75 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1365, allocations: 8 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.1366, allocations: 47.98 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.1367, allocations: 27.91 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.1368, allocations: 23.81 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1369, allocations: 107.9 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1369, allocations: 0 / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1369, allocations: 4 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.137, allocations: 0 / 472 MB, free: 11.57 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.0004791/0.1374, allocations: 407 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1375, allocations: 12.03 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.1375, allocations: 16.78 kB / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1377, allocations: 192.7 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1377, allocations: 4.375 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1378, allocations: 7.938 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1379, allocations: 65.61 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.138, allocations: 0 / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.138, allocations: 0 / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.138, allocations: 4 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1381, allocations: 47.95 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1386, allocations: 324.6 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1388, allocations: 58.55 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.1389, allocations: 28.97 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1389, allocations: 4 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.1389, allocations: 30.56 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.255e-06/0.1389, allocations: 96 / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00141/0.1404, allocations: 425.1 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1404, allocations: 51.41 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1406, allocations: 180.1 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1406, allocations: 33.7 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.1407, allocations: 104 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.1408, allocations: 31.55 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.1408, allocations: 29.64 kB / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1409, allocations: 318.8 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1411, allocations: 59.95 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1412, allocations: 55.89 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.1415, allocations: 124.8 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1415, allocations: 3.938 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000316/0.1418, allocations: 165.7 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1419, allocations: 8 kB / 474.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1419, allocations: 3.938 kB / 474.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1419, allocations: 0 / 474.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.142, allocations: 27.97 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.142, allocations: 0 / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.1421, allocations: 11.98 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1421, allocations: 4 kB / 474.8 MB, free: 8.566 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.0001022/0.1422, allocations: 133.8 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1422, allocations: 7.906 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.1427, allocations: 190.3 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1427, allocations: 4 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1427, allocations: 4 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1427, allocations: 0 / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.1433, allocations: 0.4998 MB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1433, allocations: 0 / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-05/0.1435, allocations: 32.05 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1435, allocations: 0 / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1435, allocations: 7.938 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1435, allocations: 0 / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1435, allocations: 3.984 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1438, allocations: 265 kB / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.1439, allocations: 85.02 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1439, allocations: 8.172 kB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.144, allocations: 12 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1441, allocations: 11.92 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1441, allocations: 8 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.845e-05/0.1442, allocations: 142.9 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1442, allocations: 0 / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1444, allocations: 35.84 kB / 476.2 MB, free: 7.02 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.001022/0.1455, allocations: 468.5 kB / 476.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.1458, allocations: 127.8 kB / 476.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1458, allocations: 0 / 476.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.146, allocations: 71.89 kB / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1464, allocations: 19.98 kB / 476.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.1469, allocations: 295.8 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1472, allocations: 0.7235 MB / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.338e-05/0.1473, allocations: 28.52 kB / 477.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.1473, allocations: 19.42 kB / 478 MB, free: 5.406 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1474, allocations: 0 / 478 MB, free: 5.406 MB / 350.1 MB Notification: Performance of Templates: time 0.004078/0.1514, allocations: 1.59 MB / 479.6 MB, free: 3.824 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches