Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.12 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 87.5 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 62.45 MB / 480.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003205/0.1256, allocations: 1.732 MB / 482.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1273, allocations: 1.027 MB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.1274, allocations: 0 / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1277, allocations: 39.77 kB / 483.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.128, allocations: 95.55 kB / 483.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.1282, allocations: 83.66 kB / 483.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1284, allocations: 95.7 kB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.1285, allocations: 23.97 kB / 483.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.1286, allocations: 39.8 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.1286, allocations: 31.8 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1287, allocations: 8 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.1288, allocations: 43.97 kB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.1288, allocations: 19.86 kB / 484 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.1289, allocations: 35.73 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1291, allocations: 123.9 kB / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1291, allocations: 0 / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1291, allocations: 0 / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1291, allocations: 0 / 484.2 MB, free: 1.848 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.0005583/0.1297, allocations: 414.9 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1297, allocations: 8.031 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.1298, allocations: 12.84 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.13, allocations: 212.7 kB / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.13, allocations: 8.312 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1301, allocations: 8.125 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1302, allocations: 53.67 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1302, allocations: 0 / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1302, allocations: 0 / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1303, allocations: 4 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.859e-05/0.1303, allocations: 15.98 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1307, allocations: 292.8 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1309, allocations: 62.61 kB / 485.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.131, allocations: 16.86 kB / 485.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.131, allocations: 0 / 485.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.1312, allocations: 71.38 kB / 485.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1312, allocations: 4 kB / 485.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000529/0.1317, allocations: 169.2 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1318, allocations: 51.41 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.132, allocations: 198.4 kB / 485.7 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.132, allocations: 29.64 kB / 485.8 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.1321, allocations: 104.1 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1322, allocations: 27.7 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1322, allocations: 25.72 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1324, allocations: 326.8 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.1325, allocations: 23.92 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.1325, allocations: 38.08 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1327, allocations: 57.7 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1327, allocations: 0 / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.1329, allocations: 109.4 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1329, allocations: 4 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1329, allocations: 0 / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1329, allocations: 4 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.133, allocations: 15.98 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.133, allocations: 0 / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.1331, allocations: 7.938 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1331, allocations: 3.938 kB / 486.5 MB, free: 15.28 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 (10): * Single equations (assignments): 10 * 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.0001141/0.1332, allocations: 137.8 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1333, allocations: 7.906 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1333, allocations: 17.34 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.1333, allocations: 4 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1333, allocations: 0 / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1334, allocations: 7.922 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1338, allocations: 399.2 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1339, allocations: 0 / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.1339, allocations: 8 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1339, allocations: 0 / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1339, allocations: 11.92 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1339, allocations: 4 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1339, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1342, allocations: 208.5 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.1343, allocations: 88.92 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1343, allocations: 7.938 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.1344, allocations: 7.984 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1344, allocations: 0 / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1344, allocations: 4 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1346, allocations: 148.4 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1349, allocations: 31.94 kB / 487.6 MB, free: 14.1 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 (8): * Single equations (assignments): 6 * 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.001648/0.1365, allocations: 455.6 kB / 488 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1367, allocations: 55.92 kB / 488.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1367, allocations: 4.062 kB / 488.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.1368, allocations: 31.92 kB / 488.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1372, allocations: 48.81 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.1377, allocations: 252.7 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1381, allocations: 0.7119 MB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.1381, allocations: 15.44 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1381, allocations: 0 / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.004118/0.1423, allocations: 1.949 MB / 491.1 MB, free: 10.7 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches