Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 93.84 kB / 18 MB, free: 5.602 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.001464/0.001464, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.501/1.501, allocations: 223.3 MB / 243 MB, free: 14.31 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.2269/0.2269, allocations: 44.25 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003145, allocations: 10.94 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002019/0.106, allocations: 1.413 MB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1074, allocations: 0.8459 MB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.1075, allocations: 8 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1078, allocations: 31.89 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.108, allocations: 43.83 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1083, allocations: 99.27 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1085, allocations: 91.7 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.1086, allocations: 8.219 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.1087, allocations: 35.8 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.1088, allocations: 35.84 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1088, allocations: 0 / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1089, allocations: 43.92 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.109, allocations: 15.92 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.1091, allocations: 57.5 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1092, allocations: 84.03 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1092, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1092, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1093, allocations: 0 / 475.7 MB, free: 10.48 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.0004768/0.1097, allocations: 393.6 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1098, allocations: 8.031 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1098, allocations: 8.844 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.11, allocations: 212.1 kB / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1101, allocations: 384 / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1101, allocations: 8.125 kB / 476.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1102, allocations: 53.67 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1103, allocations: 0 / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1103, allocations: 0 / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1103, allocations: 7.938 kB / 476.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.1104, allocations: 19.98 kB / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1107, allocations: 284.8 kB / 476.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1109, allocations: 62.61 kB / 476.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.1109, allocations: 16.86 kB / 476.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.111, allocations: 4 kB / 476.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.1111, allocations: 83.22 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1112, allocations: 0 / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005016/0.1117, allocations: 165.3 kB / 477 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1117, allocations: 51.41 kB / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1119, allocations: 176.5 kB / 477.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1119, allocations: 33.7 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.112, allocations: 96.14 kB / 477.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.112, allocations: 31.58 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.112, allocations: 9.719 kB / 477.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1121, allocations: 326.8 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.1122, allocations: 23.98 kB / 477.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.1123, allocations: 33.7 kB / 477.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1124, allocations: 69.69 kB / 477.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1124, allocations: 0 / 477.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.1126, allocations: 97.44 kB / 478 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1126, allocations: 8 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1126, allocations: 0 / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1126, allocations: 0 / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.1127, allocations: 15.98 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1127, allocations: 7.938 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.1128, allocations: 11.97 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1128, allocations: 4.375 kB / 478 MB, free: 7.969 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 (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.0001102/0.1129, allocations: 121.8 kB / 478.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.113, allocations: 7.906 kB / 478.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.113, allocations: 16.7 kB / 478.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.113, allocations: 0 / 478.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.113, allocations: 8 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.113, allocations: 3.938 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.1134, allocations: 391.3 kB / 478.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1135, allocations: 0 / 478.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.1135, allocations: 12.17 kB / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1135, allocations: 0 / 478.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1135, allocations: 11.88 kB / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1135, allocations: 0 / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1135, allocations: 0 / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1138, allocations: 208.2 kB / 478.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1138, allocations: 92.94 kB / 478.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1139, allocations: 7.938 kB / 478.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.1139, allocations: 4 kB / 478.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.114, allocations: 7.984 kB / 478.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.114, allocations: 4 kB / 478.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1141, allocations: 138.8 kB / 479 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1141, allocations: 0 / 479 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1144, allocations: 27.98 kB / 479 MB, free: 6.82 MB / 350.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.001023/0.1154, allocations: 455.8 kB / 479.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1156, allocations: 67.91 kB / 479.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1156, allocations: 0 / 479.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.1157, allocations: 27.92 kB / 479.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.116, allocations: 31.97 kB / 479.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.1165, allocations: 267.7 kB / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1168, allocations: 0.7004 MB / 480.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.1168, allocations: 19.44 kB / 480.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1168, allocations: 0 / 480.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of Templates: time 0.003611/0.1204, allocations: 1.858 MB / 482.5 MB, free: 3.531 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches