Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007324/0.0007324, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008865/0.0008866, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.19 MB / 345.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002664, allocations: 15.94 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 63.55 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002492/0.1209, allocations: 1.466 MB / 485.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1227, allocations: 0.9926 MB / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.1228, allocations: 0 / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1232, allocations: 83.77 kB / 486.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1236, allocations: 99.7 kB / 486.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1239, allocations: 67.81 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1241, allocations: 119.6 kB / 486.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1242, allocations: 8 kB / 486.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1244, allocations: 51.77 kB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1245, allocations: 63.69 kB / 486.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1245, allocations: 4 kB / 486.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1247, allocations: 51.98 kB / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.1248, allocations: 23.92 kB / 486.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.1249, allocations: 69.36 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1251, allocations: 104.1 kB / 486.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1251, allocations: 0 / 486.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1251, allocations: 0 / 486.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1251, allocations: 0 / 486.9 MB, free: 0.9648 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005545/0.1256, allocations: 415 kB / 487.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1257, allocations: 16.88 kB / 487.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.1258, allocations: 16.73 kB / 487.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.126, allocations: 216.6 kB / 487.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.126, allocations: 4.375 kB / 487.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1261, allocations: 8.125 kB / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1262, allocations: 57.67 kB / 487.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1262, allocations: 3.906 kB / 487.6 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1263, allocations: 4 kB / 487.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1263, allocations: 0 / 487.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.1263, allocations: 23.92 kB / 487.7 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1268, allocations: 304.8 kB / 488 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.127, allocations: 66.55 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.1271, allocations: 20.97 kB / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1271, allocations: 3.938 kB / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.1273, allocations: 71.39 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.877e-06/0.1273, allocations: 3.984 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000789/0.1281, allocations: 249.1 kB / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.1282, allocations: 55.34 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1284, allocations: 223.4 kB / 488.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1284, allocations: 29.7 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.1285, allocations: 108.1 kB / 488.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.1286, allocations: 35.56 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1286, allocations: 17.7 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1288, allocations: 322.8 kB / 489.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.1288, allocations: 31.98 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.1289, allocations: 49.64 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1291, allocations: 77.7 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1291, allocations: 0 / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000233/0.1293, allocations: 137.4 kB / 489.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1294, allocations: 7.938 kB / 489.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1294, allocations: 0 / 489.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1294, allocations: 4 kB / 489.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.1295, allocations: 19.98 kB / 489.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1295, allocations: 3.938 kB / 489.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.1295, allocations: 8 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1296, allocations: 8.031 kB / 489.5 MB, free: 14.15 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 0.0001144/0.1297, allocations: 137.7 kB / 489.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1297, allocations: 11.81 kB / 489.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1298, allocations: 17.41 kB / 489.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1298, allocations: 0 / 489.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1298, allocations: 3.938 kB / 489.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1298, allocations: 7.984 kB / 489.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.1303, allocations: 452 kB / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1304, allocations: 0 / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.1304, allocations: 15.98 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1304, allocations: 4 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1304, allocations: 4 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1304, allocations: 4 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1305, allocations: 0 / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1307, allocations: 240.9 kB / 490.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.1308, allocations: 88.92 kB / 490.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1308, allocations: 11.98 kB / 490.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1309, allocations: 8 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.131, allocations: 7.984 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.131, allocations: 8 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1311, allocations: 165.2 kB / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1311, allocations: 0 / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1314, allocations: 31.98 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001254/0.1327, allocations: 0.4968 MB / 491.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1329, allocations: 79.91 kB / 491.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1329, allocations: 0 / 491.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.133, allocations: 43.98 kB / 491.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1334, allocations: 31.91 kB / 491.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.134, allocations: 337.6 kB / 491.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1343, allocations: 0.716 MB / 492.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1344, allocations: 15.44 kB / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1344, allocations: 0 / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004532/0.1389, allocations: 2.224 MB / 494.6 MB, free: 9.043 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches