Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 76.44 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 62.45 MB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00299/0.125, allocations: 1.728 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1266, allocations: 1.037 MB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.1267, allocations: 4 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.127, allocations: 39.77 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1273, allocations: 91.59 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1275, allocations: 83.66 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1276, allocations: 115.6 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.1277, allocations: 7.984 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.1278, allocations: 47.78 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.1279, allocations: 39.78 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1279, allocations: 11.98 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1281, allocations: 111.9 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.1282, allocations: 23.91 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.1282, allocations: 27.81 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1285, allocations: 179.8 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1285, allocations: 0 / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1285, allocations: 3.938 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1285, allocations: 0 / 483.6 MB, free: 1.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005378/0.1291, allocations: 431 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1291, allocations: 8.031 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1292, allocations: 8.844 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1294, allocations: 212.1 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1294, allocations: 384 / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1295, allocations: 12.12 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1296, allocations: 75.38 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1297, allocations: 0 / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1297, allocations: 0 / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1297, allocations: 0 / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.1298, allocations: 23.92 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1301, allocations: 288.8 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1303, allocations: 66.61 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.1304, allocations: 28.91 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1304, allocations: 0 / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1306, allocations: 71.38 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1306, allocations: 4 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.00059/0.1312, allocations: 205.2 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1313, allocations: 77.11 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1315, allocations: 165.3 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1315, allocations: 29.7 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.1316, allocations: 96.08 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.1316, allocations: 35.55 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1317, allocations: 33.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1318, allocations: 326.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.1318, allocations: 27.92 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.1319, allocations: 54.56 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1321, allocations: 73.7 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1321, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002126/0.1323, allocations: 133.5 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1324, allocations: 4 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1324, allocations: 0 / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1324, allocations: 0 / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1325, allocations: 20 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1325, allocations: 3.984 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.1326, allocations: 11.84 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1326, allocations: 8.031 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.572e-05/0.1327, allocations: 125.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.1327, allocations: 11.91 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.1328, allocations: 16.7 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1328, allocations: 4 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1328, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1328, allocations: 3.938 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.1333, allocations: 435.1 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1333, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.1334, allocations: 19.92 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1334, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1334, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1334, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1334, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1337, allocations: 220.2 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.1337, allocations: 84.95 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1338, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1338, allocations: 8 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1339, allocations: 7.984 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1339, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.134, allocations: 131.1 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.134, allocations: 3.938 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1343, allocations: 55.92 kB / 487.2 MB, free: 13.73 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001169/0.1355, allocations: 0.5521 MB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1357, allocations: 83.89 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1357, allocations: 0 / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.1358, allocations: 43.98 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1361, allocations: 32.72 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.1366, allocations: 227.2 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1368, allocations: 0.6967 MB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.573e-05/0.1369, allocations: 24.56 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.137, allocations: 23.44 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.137, allocations: 0 / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Templates: time 0.005122/0.1421, allocations: 2.503 MB / 491.4 MB, free: 9.699 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches