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.0009991/0.0009988, allocations: 93.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.001139/0.001139, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.521/1.521, allocations: 223.3 MB / 242.3 MB, free: 212 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.2342/0.2342, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002152/0.1293, allocations: 1.294 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.1302, allocations: 403.4 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1303, allocations: 0 / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1306, allocations: 67.78 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1308, allocations: 59.86 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1311, allocations: 98.64 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1312, allocations: 71.88 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1314, allocations: 16.17 kB / 474.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.1314, allocations: 39.78 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1316, allocations: 39.89 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1316, allocations: 4 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1317, allocations: 43.97 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.1318, allocations: 23.92 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.1318, allocations: 49.45 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.132, allocations: 99.97 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.132, allocations: 0 / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1321, allocations: 0 / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1321, allocations: 0 / 474.5 MB, free: 11.03 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.0005385/0.1326, allocations: 395.1 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1327, allocations: 11.97 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1327, allocations: 12.84 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1329, allocations: 200 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1329, allocations: 4.359 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.133, allocations: 4.375 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1331, allocations: 61.61 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1331, allocations: 3.906 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1332, allocations: 4 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1332, allocations: 0 / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1333, allocations: 39.91 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1337, allocations: 296.8 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1338, allocations: 46.56 kB / 475.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.1339, allocations: 24.94 kB / 475.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1339, allocations: 7.938 kB / 475.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1339, allocations: 30.56 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1339, allocations: 0 / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009472/0.1349, allocations: 269.1 kB / 475.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.135, allocations: 55.41 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1352, allocations: 210.1 kB / 476.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.1352, allocations: 29.7 kB / 476.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.1353, allocations: 104 kB / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1353, allocations: 23.66 kB / 476.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.1353, allocations: 9.719 kB / 476.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1355, allocations: 326.8 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.1356, allocations: 35.97 kB / 476.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.957e-05/0.1357, allocations: 40.05 kB / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1359, allocations: 88.75 kB / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1359, allocations: 0 / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002468/0.1362, allocations: 117.5 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1362, allocations: 4 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1362, allocations: 4 kB / 476.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1362, allocations: 3.938 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1364, allocations: 23.98 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1364, allocations: 3.938 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.1364, allocations: 7.984 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1365, allocations: 4 kB / 477 MB, free: 8.355 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.0001236/0.1366, allocations: 126.3 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.1366, allocations: 11.91 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.137, allocations: 138.3 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.137, allocations: 0 / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.137, allocations: 7.938 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.137, allocations: 0 / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.1376, allocations: 427.2 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1376, allocations: 0 / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.1377, allocations: 27.86 kB / 477.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.1377, allocations: 4 kB / 477.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1378, allocations: 7.938 kB / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1378, allocations: 0 / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1378, allocations: 4.031 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1381, allocations: 216.7 kB / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.1382, allocations: 92.94 kB / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1382, allocations: 8 kB / 478 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1383, allocations: 12 kB / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.1383, allocations: 7.984 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1383, allocations: 0 / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1385, allocations: 155.2 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1385, allocations: 0 / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1387, allocations: 20 kB / 478.2 MB, free: 7.004 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.001257/0.14, allocations: 460.6 kB / 478.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.1403, allocations: 83.95 kB / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1403, allocations: 0 / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.1404, allocations: 47.91 kB / 478.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1408, allocations: 23.92 kB / 478.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.1415, allocations: 282.4 kB / 479.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.1421, allocations: 0.7043 MB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.197e-05/0.1421, allocations: 32.92 kB / 479.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1422, allocations: 11.44 kB / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1422, allocations: 0 / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of Templates: time 0.004774/0.147, allocations: 1.289 MB / 481.1 MB, free: 4.211 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