Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 107.4 kB / 17.03 MB, free: 5.66 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.001194/0.001195, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 223.8 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2322/0.2322, allocations: 43.53 MB / 314.7 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 66.11 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1355, allocations: 57.8 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003157/0.1387, allocations: 1.543 MB / 443.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.1394, allocations: 319.5 kB / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.1395, allocations: 8 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.1398, allocations: 79.77 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.14, allocations: 67.73 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1403, allocations: 95.36 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1405, allocations: 63.89 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1406, allocations: 15.92 kB / 444.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.1406, allocations: 39.84 kB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.824e-05/0.1407, allocations: 55.81 kB / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1408, allocations: 0 / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.1408, allocations: 24 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.1409, allocations: 19.92 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.1409, allocations: 27.8 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1411, allocations: 87.72 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1411, allocations: 0 / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1411, allocations: 0 / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1411, allocations: 3.938 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004186/0.1416, allocations: 403 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1416, allocations: 11.89 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1416, allocations: 8.844 kB / 444.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1418, allocations: 201 kB / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1418, allocations: 384 / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1419, allocations: 8.375 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.142, allocations: 45.81 kB / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.142, allocations: 3.984 kB / 445.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.142, allocations: 4 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.142, allocations: 4 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.1421, allocations: 27.91 kB / 445.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1426, allocations: 288.9 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1428, allocations: 38.56 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.1429, allocations: 20.86 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1429, allocations: 4.078 kB / 445.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1429, allocations: 34.5 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1429, allocations: 0 / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005268/0.1435, allocations: 157.1 kB / 445.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.1435, allocations: 55.41 kB / 445.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1436, allocations: 202.2 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1437, allocations: 33.69 kB / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.1437, allocations: 100.1 kB / 446 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1437, allocations: 23.64 kB / 446 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.1438, allocations: 17.72 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.1438, allocations: 330.7 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.1439, allocations: 23.98 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.144, allocations: 19.98 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1441, allocations: 49.02 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1441, allocations: 4 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001465/0.1442, allocations: 93.5 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1442, allocations: 4 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1443, allocations: 0 / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1443, allocations: 4 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.1443, allocations: 15.98 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1443, allocations: 0 / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.1444, allocations: 4 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1444, allocations: 0 / 446.6 MB, free: 1.27 MB / 318.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 (5): * Single equations (assignments): 5 * 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 7.931e-05/0.1445, allocations: 137.7 kB / 446.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1445, allocations: 7.906 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1447, allocations: 105.9 kB / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1448, allocations: 0 / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1448, allocations: 0 / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1448, allocations: 0 / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1451, allocations: 358.5 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1451, allocations: 4 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.1452, allocations: 11.98 kB / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1452, allocations: 0 / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1452, allocations: 4 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1452, allocations: 7.875 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1452, allocations: 4 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.1454, allocations: 187.5 kB / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.1455, allocations: 85.02 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1455, allocations: 0 / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.1455, allocations: 7.938 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.1456, allocations: 11.98 kB / 447.5 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1456, allocations: 4 kB / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.215e-05/0.1457, allocations: 151.2 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1457, allocations: 0 / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1459, allocations: 20 kB / 447.7 MB, free: 84 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009984/0.1469, allocations: 396.4 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1472, allocations: 59.91 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1472, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.1473, allocations: 27.97 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1476, allocations: 12 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1481, allocations: 218.1 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1484, allocations: 0.7118 MB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.1485, allocations: 15.97 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.1485, allocations: 11.44 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1485, allocations: 0 / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Templates: time 0.003987/0.1525, allocations: 1.138 MB / 450.2 MB, free: 13.54 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches