Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001824, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 76.75 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 62.43 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003499/0.1115, allocations: 1.748 MB / 482.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1133, allocations: 1.025 MB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1134, allocations: 3.938 kB / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.1138, allocations: 91.67 kB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.1144, allocations: 119.6 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1147, allocations: 75.67 kB / 483.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.115, allocations: 119.7 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1151, allocations: 19.98 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1152, allocations: 59.7 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1154, allocations: 67.75 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1154, allocations: 4 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1155, allocations: 59.97 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1156, allocations: 27.91 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.1157, allocations: 35.69 kB / 484.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1159, allocations: 151.8 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1159, allocations: 0 / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1159, allocations: 0 / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.116, allocations: 0 / 484.3 MB, free: 1.691 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.000596/0.1166, allocations: 438.8 kB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1166, allocations: 11.97 kB / 484.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.1167, allocations: 12.84 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1169, allocations: 225.5 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1169, allocations: 4.375 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.117, allocations: 12.12 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1171, allocations: 57.66 kB / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1171, allocations: 3.984 kB / 485 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1172, allocations: 8 kB / 485 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1172, allocations: 0 / 485 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.1173, allocations: 23.92 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1177, allocations: 304.7 kB / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1179, allocations: 66.55 kB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.118, allocations: 20.97 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.118, allocations: 4 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1183, allocations: 67.33 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.1183, allocations: 0 / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000751/0.119, allocations: 257.6 kB / 485.8 MB, free: 32 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.1191, allocations: 59.33 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1193, allocations: 238.1 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1194, allocations: 29.7 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.1194, allocations: 104.1 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.1195, allocations: 39.55 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.1195, allocations: 21.72 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1197, allocations: 330.8 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.1197, allocations: 35.98 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.1198, allocations: 41.7 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.12, allocations: 77.64 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.12, allocations: 0 / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002214/0.1202, allocations: 133.4 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1202, allocations: 14.69 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1202, allocations: 80 / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1203, allocations: 0 / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.1203, allocations: 23.98 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1204, allocations: 7.922 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1204, allocations: 4 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1204, allocations: 4 kB / 486.9 MB, free: 14.83 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.0001138/0.1205, allocations: 133.8 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1206, allocations: 23.75 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.1206, allocations: 25.39 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1207, allocations: 0 / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1207, allocations: 3.938 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1207, allocations: 4 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.1212, allocations: 451.9 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1212, allocations: 4 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.1213, allocations: 16.06 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1213, allocations: 0 / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1213, allocations: 7.984 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1213, allocations: 4 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1213, allocations: 0 / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1216, allocations: 233 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1217, allocations: 92.91 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1217, allocations: 8 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.1218, allocations: 4 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1218, allocations: 7.984 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1219, allocations: 4 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.122, allocations: 176.4 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.122, allocations: 0 / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1223, allocations: 28 kB / 488.1 MB, free: 13.51 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.001176/0.1235, allocations: 0.5052 MB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1237, allocations: 79.84 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1237, allocations: 4 kB / 488.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.1238, allocations: 35.92 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1242, allocations: 45.97 kB / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.1248, allocations: 318.5 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1251, allocations: 0.7235 MB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.1252, allocations: 19.42 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1252, allocations: 0 / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.00448/0.1297, allocations: 2.262 MB / 492.1 MB, free: 9.652 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches