Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001105, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 62.46 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003604/0.1091, allocations: 1.758 MB / 483.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1108, allocations: 1.033 MB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1109, allocations: 0 / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1113, allocations: 107.6 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.1117, allocations: 123.5 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.112, allocations: 87.66 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.1122, allocations: 139.7 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1123, allocations: 21.39 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1124, allocations: 59.7 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1125, allocations: 79.67 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1126, allocations: 4 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1127, allocations: 63.97 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.1128, allocations: 35.91 kB / 485 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.1129, allocations: 47.62 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1131, allocations: 159.5 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1131, allocations: 3.984 kB / 485.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1131, allocations: 0 / 485.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1132, allocations: 3.938 kB / 485.2 MB, free: 0.7734 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000579/0.1137, allocations: 454.7 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1138, allocations: 8.031 kB / 485.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.1139, allocations: 16.75 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1142, allocations: 225 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1142, allocations: 8.312 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1142, allocations: 12.11 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1144, allocations: 73.55 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1144, allocations: 7.922 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1145, allocations: 0 / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1145, allocations: 0 / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.1146, allocations: 39.97 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.115, allocations: 340.6 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1153, allocations: 78.47 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.1154, allocations: 28.84 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1154, allocations: 0 / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1156, allocations: 83.38 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1156, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.000819/0.1164, allocations: 300.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1164, allocations: 55.41 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1167, allocations: 263.6 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1167, allocations: 29.7 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.1168, allocations: 112.1 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1168, allocations: 43.45 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.1169, allocations: 33.7 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.117, allocations: 330.8 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.1171, allocations: 36.83 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.1172, allocations: 64.16 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1173, allocations: 101.8 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1173, allocations: 7.938 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002555/0.1176, allocations: 161.3 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1176, allocations: 8 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1176, allocations: 0 / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1177, allocations: 3.938 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.1178, allocations: 27.98 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1178, allocations: 7.938 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.1178, allocations: 0 / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1179, allocations: 4 kB / 488.1 MB, free: 13.63 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 (16): * Single equations (assignments): 16 * 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.0001075/0.118, allocations: 145.8 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.118, allocations: 15.81 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.1181, allocations: 29.52 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1181, allocations: 3.938 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1181, allocations: 0 / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1181, allocations: 0 / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.1187, allocations: 0.5039 MB / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1187, allocations: 8.031 kB / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.1188, allocations: 16 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1188, allocations: 3.938 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1188, allocations: 7.984 kB / 488.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1188, allocations: 0 / 488.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1188, allocations: 0 / 488.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1191, allocations: 272.4 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.1192, allocations: 88.92 kB / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.1192, allocations: 8 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1193, allocations: 7.984 kB / 489.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1193, allocations: 12 kB / 489.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1193, allocations: 7.984 kB / 489.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1195, allocations: 193.5 kB / 489.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1195, allocations: 0 / 489.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1198, allocations: 36 kB / 489.4 MB, free: 12.18 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 (14): * Single equations (assignments): 12 * 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.001098/0.1209, allocations: 0.5038 MB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1212, allocations: 103.8 kB / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1212, allocations: 0 / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.914e-05/0.1213, allocations: 51.91 kB / 490.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1217, allocations: 40.25 kB / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.1222, allocations: 328.7 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1225, allocations: 0.7317 MB / 491.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.1226, allocations: 29.41 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1226, allocations: 19.44 kB / 491.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1227, allocations: 0 / 491.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004938/0.1276, allocations: 2.181 MB / 493.4 MB, free: 8.344 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches