Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008153, allocations: 91.56 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 178.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.26 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 16 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1049, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002143/0.1071, allocations: 1.448 MB / 474.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1085, allocations: 0.8577 MB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.1086, allocations: 0 / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.109, allocations: 107.7 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1092, allocations: 75.78 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1096, allocations: 99.81 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1098, allocations: 119.7 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.11, allocations: 23.95 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1101, allocations: 59.72 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1102, allocations: 67.75 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1103, allocations: 0 / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1104, allocations: 55.95 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.1105, allocations: 23.92 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.1106, allocations: 77.31 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1108, allocations: 112 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1108, allocations: 3.984 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1108, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1108, allocations: 0 / 476 MB, free: 10.16 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.000603/0.1114, allocations: 441 kB / 476.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1115, allocations: 12.03 kB / 476.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.1115, allocations: 12.75 kB / 476.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1118, allocations: 219.9 kB / 476.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1118, allocations: 8.375 kB / 476.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1119, allocations: 12.11 kB / 476.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.112, allocations: 69.66 kB / 476.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1121, allocations: 3.938 kB / 476.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1121, allocations: 4 kB / 476.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1121, allocations: 4 kB / 476.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1122, allocations: 35.97 kB / 476.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.1127, allocations: 332.6 kB / 477.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.113, allocations: 82.48 kB / 477.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.1131, allocations: 32.84 kB / 477.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1131, allocations: 0 / 477.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.1133, allocations: 79.31 kB / 477.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1134, allocations: 0 / 477.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009125/0.1143, allocations: 296 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1143, allocations: 59.39 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1146, allocations: 247.2 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1146, allocations: 29.7 kB / 478 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.1147, allocations: 116.1 kB / 478.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.1147, allocations: 47.5 kB / 478.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.1148, allocations: 17.7 kB / 478.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1149, allocations: 330.8 kB / 478.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.1149, allocations: 39.98 kB / 478.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.115, allocations: 65.62 kB / 478.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1152, allocations: 93.7 kB / 478.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1152, allocations: 0 / 478.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002629/0.1155, allocations: 161.4 kB / 478.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1155, allocations: 4 kB / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1155, allocations: 4 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1156, allocations: 3.938 kB / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.1157, allocations: 23.98 kB / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1157, allocations: 8.031 kB / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.1157, allocations: 4 kB / 478.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1158, allocations: 4 kB / 478.9 MB, free: 7.078 MB / 350.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.0001218/0.1159, allocations: 139.1 kB / 479 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1159, allocations: 15.81 kB / 479 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.116, allocations: 25.52 kB / 479.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.116, allocations: 7.938 kB / 479.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.116, allocations: 0 / 479.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.116, allocations: 4 kB / 479.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.1166, allocations: 0.5 MB / 479.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1167, allocations: 0 / 479.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.1167, allocations: 19.94 kB / 479.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1167, allocations: 7.938 kB / 479.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1168, allocations: 3.984 kB / 479.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1168, allocations: 8.062 kB / 479.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1168, allocations: 0 / 479.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1171, allocations: 268.9 kB / 479.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1172, allocations: 92.92 kB / 480 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.1172, allocations: 4 kB / 480 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.1173, allocations: 15.98 kB / 480 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.1174, allocations: 11.98 kB / 480 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1174, allocations: 4 kB / 480 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1176, allocations: 188.2 kB / 480.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1176, allocations: 0 / 480.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1179, allocations: 28 kB / 480.2 MB, free: 5.637 MB / 350.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.001228/0.1191, allocations: 0.5191 MB / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1194, allocations: 103.8 kB / 480.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1194, allocations: 4 kB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1195, allocations: 51.86 kB / 480.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1199, allocations: 31.97 kB / 480.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.1205, allocations: 393.7 kB / 481.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1208, allocations: 0.7243 MB / 482 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.1208, allocations: 23.42 kB / 482 MB, free: 3.938 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1209, allocations: 0 / 482 MB, free: 3.938 MB / 350.1 MB Notification: Performance of Templates: time 0.004547/0.1254, allocations: 2.442 MB / 484.5 MB, free: 1.504 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches