Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, 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.001067/0.001067, 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.324/1.324, 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.2113/0.2113, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 61.19 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1205, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003781/0.1243, allocations: 1.576 MB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.1252, allocations: 419.2 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.1253, allocations: 0 / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1256, allocations: 75.77 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1259, allocations: 67.69 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1263, allocations: 103.7 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1265, allocations: 71.89 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1267, allocations: 20.17 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.1267, allocations: 39.78 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1269, allocations: 51.88 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1269, allocations: 0 / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.127, allocations: 43.98 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1271, allocations: 23.91 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1271, allocations: 31.75 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1273, allocations: 92 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1273, allocations: 0 / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1273, allocations: 0 / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1274, allocations: 4 kB / 471.9 MB, free: 11.75 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.0004985/0.1279, allocations: 418.8 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1279, allocations: 16.02 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.128, allocations: 8.844 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1281, allocations: 184.1 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1282, allocations: 8.375 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1282, allocations: 384 / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1283, allocations: 61.61 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1284, allocations: 7.906 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1284, allocations: 0 / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1284, allocations: 0 / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1285, allocations: 31.91 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1289, allocations: 296.8 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1291, allocations: 46.56 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.1291, allocations: 20.94 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1292, allocations: 0 / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1292, allocations: 38.5 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.1292, allocations: 0 / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001041/0.1303, allocations: 241 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1303, allocations: 51.41 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1306, allocations: 210.1 kB / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1306, allocations: 33.7 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.1307, allocations: 104 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1307, allocations: 27.64 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1307, allocations: 21.72 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1309, allocations: 322.8 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.131, allocations: 27.98 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.1311, allocations: 31.97 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1312, allocations: 76.89 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1313, allocations: 7.922 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002265/0.1315, allocations: 109.5 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1315, allocations: 8 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1315, allocations: 3.938 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1316, allocations: 0 / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1317, allocations: 15.98 kB / 474.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1317, allocations: 11.94 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.1317, allocations: 0 / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1317, allocations: 8 kB / 474.2 MB, free: 9.121 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.0001245/0.1319, allocations: 133.8 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1319, allocations: 7.906 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1322, allocations: 126.4 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1322, allocations: 3.984 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1323, allocations: 3.938 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1323, allocations: 3.938 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.1329, allocations: 423.6 kB / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1329, allocations: 0 / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.1329, allocations: 19.92 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.133, allocations: 4 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.133, allocations: 0 / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.133, allocations: 3.938 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.133, allocations: 0 / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1332, allocations: 216.3 kB / 475.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1333, allocations: 88.95 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1333, allocations: 0 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.1334, allocations: 11.98 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1335, allocations: 4 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1335, allocations: 4 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1336, allocations: 159.2 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1336, allocations: 0 / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1338, allocations: 20 kB / 475.5 MB, free: 7.801 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.00105/0.1349, allocations: 463.5 kB / 475.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1352, allocations: 79.92 kB / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1352, allocations: 0 / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.1353, allocations: 39.92 kB / 476 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1357, allocations: 23.92 kB / 476 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.1361, allocations: 259.1 kB / 476.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1365, allocations: 0.7041 MB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.1365, allocations: 28.95 kB / 477 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.1366, allocations: 15.44 kB / 477 MB, free: 6.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1366, allocations: 7.875 kB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of Templates: time 0.003803/0.1404, allocations: 1.353 MB / 478.4 MB, free: 4.973 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches