Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008824/0.0008824, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 247.5 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 12 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 63.56 MB / 483.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002139/0.1188, allocations: 1.446 MB / 485.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1205, allocations: 0.9863 MB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.1206, allocations: 4 kB / 486.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.1209, allocations: 39.83 kB / 486.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.1212, allocations: 87.67 kB / 486.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1214, allocations: 55.89 kB / 486.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1217, allocations: 107.6 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1218, allocations: 7.984 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.1219, allocations: 35.8 kB / 486.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.122, allocations: 35.78 kB / 486.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.122, allocations: 4 kB / 486.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1221, allocations: 47.97 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1222, allocations: 27.86 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.1223, allocations: 57.45 kB / 486.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1224, allocations: 88.08 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1224, allocations: 0 / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1225, allocations: 0 / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1225, allocations: 0 / 486.8 MB, free: 1.066 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.0005366/0.123, allocations: 407 kB / 487.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1231, allocations: 8.875 kB / 487.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1231, allocations: 16.84 kB / 487.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1234, allocations: 212 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1234, allocations: 4.375 kB / 487.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1234, allocations: 8.062 kB / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1236, allocations: 57.67 kB / 487.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1236, allocations: 0 / 487.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1236, allocations: 0 / 487.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1236, allocations: 0 / 487.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.1237, allocations: 23.98 kB / 487.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1241, allocations: 284.9 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1243, allocations: 62.61 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.1243, allocations: 16.86 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1244, allocations: 4 kB / 487.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.1246, allocations: 71.38 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1246, allocations: 0 / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005362/0.1251, allocations: 185 kB / 488.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1252, allocations: 55.41 kB / 488.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1254, allocations: 206.9 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1254, allocations: 29.7 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1255, allocations: 104.1 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1255, allocations: 23.72 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.1256, allocations: 17.7 kB / 488.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1257, allocations: 326.8 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.1257, allocations: 23.94 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.1258, allocations: 41.64 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1259, allocations: 57.7 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.126, allocations: 4 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.1262, allocations: 105.4 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1262, allocations: 4 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1262, allocations: 3.984 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1262, allocations: 0 / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.1263, allocations: 16 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1263, allocations: 0 / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.1264, allocations: 7.938 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1264, allocations: 4 kB / 489.1 MB, free: 14.49 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.0001164/0.1265, allocations: 137.7 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.1265, allocations: 7.906 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.1266, allocations: 25.77 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1266, allocations: 0 / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1266, allocations: 0 / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1266, allocations: 7.922 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.1271, allocations: 399.3 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1271, allocations: 4.031 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.1271, allocations: 8 kB / 489.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1271, allocations: 4 kB / 489.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1272, allocations: 3.938 kB / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1272, allocations: 0 / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1272, allocations: 0 / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1274, allocations: 212.1 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.1275, allocations: 92.91 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1275, allocations: 11.94 kB / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.1276, allocations: 4 kB / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1276, allocations: 3.984 kB / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1276, allocations: 4 kB / 490 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1278, allocations: 160.3 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1278, allocations: 0 / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1281, allocations: 19.98 kB / 490.2 MB, free: 13.3 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.001074/0.1291, allocations: 461.6 kB / 490.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1293, allocations: 51.92 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1293, allocations: 0 / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.1294, allocations: 39.98 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1298, allocations: 31.91 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.1304, allocations: 292 kB / 491 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1307, allocations: 0.7082 MB / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.1308, allocations: 15.44 kB / 491.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1308, allocations: 0 / 491.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of Templates: time 0.0043/0.1351, allocations: 1.947 MB / 493.7 MB, free: 9.871 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches