Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000998/0.0009981, allocations: 98.31 kB / 18 MB, free: 5.73 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.001105/0.001105, allocations: 180.7 kB / 18.91 MB, free: 4.859 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.41/1.41, allocations: 223.3 MB / 243 MB, free: 14.45 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.195/0.195, allocations: 44.25 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 12 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001838/0.1053, allocations: 1.41 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1067, allocations: 0.8499 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.1068, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.107, allocations: 35.89 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1072, allocations: 51.77 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1075, allocations: 95.14 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1076, allocations: 91.7 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.1077, allocations: 16.22 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.1078, allocations: 43.78 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.1079, allocations: 19.86 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1079, allocations: 4 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-05/0.108, allocations: 47.91 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.1081, allocations: 19.92 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1082, allocations: 57.45 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1083, allocations: 88.08 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1083, allocations: 0 / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1083, allocations: 0 / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1083, allocations: 0 / 475.7 MB, free: 10.47 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.0004987/0.1088, allocations: 399.1 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1089, allocations: 8.031 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1089, allocations: 16.75 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.1092, allocations: 216.7 kB / 476.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1092, allocations: 4.375 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1092, allocations: 4.125 kB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1094, allocations: 53.67 kB / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1094, allocations: 4 kB / 476.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.1094, allocations: 8 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1094, allocations: 0 / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.702e-05/0.1095, allocations: 15.98 kB / 476.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.1098, allocations: 284.9 kB / 476.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.11, allocations: 62.61 kB / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.1101, allocations: 24.84 kB / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1101, allocations: 0 / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.1103, allocations: 75.3 kB / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1103, allocations: 0 / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.1108, allocations: 177.1 kB / 477.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1108, allocations: 51.41 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.111, allocations: 199.3 kB / 477.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1111, allocations: 25.7 kB / 477.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.1111, allocations: 108.1 kB / 477.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1112, allocations: 23.7 kB / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.1112, allocations: 17.72 kB / 477.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1113, allocations: 326.8 kB / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.1114, allocations: 19.98 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.1115, allocations: 41.64 kB / 477.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1116, allocations: 57.7 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1116, allocations: 0 / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1118, allocations: 101.5 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1118, allocations: 7.938 kB / 478 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1118, allocations: 0 / 478 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1118, allocations: 0 / 478 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.1119, allocations: 19.98 kB / 478 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1119, allocations: 3.938 kB / 478 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.112, allocations: 11.97 kB / 478.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.112, allocations: 0 / 478.1 MB, free: 7.906 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.0001029/0.1121, allocations: 129.8 kB / 478.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.1121, allocations: 11.81 kB / 478.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.1122, allocations: 21.39 kB / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1122, allocations: 0 / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1122, allocations: 0 / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1122, allocations: 7.922 kB / 478.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.1126, allocations: 395.3 kB / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1126, allocations: 0 / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.1127, allocations: 8 kB / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1127, allocations: 0 / 478.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1127, allocations: 12.3 kB / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1127, allocations: 0 / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1127, allocations: 4 kB / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1129, allocations: 208.4 kB / 478.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.113, allocations: 85.02 kB / 478.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.113, allocations: 11.92 kB / 478.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.1131, allocations: 4 kB / 478.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1131, allocations: 4 kB / 478.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1132, allocations: 7.984 kB / 478.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1133, allocations: 148.9 kB / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1133, allocations: 4 kB / 479.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1136, allocations: 27.98 kB / 479.1 MB, free: 6.734 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.001044/0.1146, allocations: 474.3 kB / 479.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1148, allocations: 67.89 kB / 479.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1148, allocations: 0 / 479.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.1149, allocations: 27.94 kB / 479.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1152, allocations: 27.97 kB / 479.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.1157, allocations: 284.2 kB / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.116, allocations: 0.7043 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.116, allocations: 15.44 kB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.116, allocations: 4 kB / 480.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Templates: time 0.003404/0.1194, allocations: 1.912 MB / 482.6 MB, free: 3.363 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches