Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001474, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001721/0.001721, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.366/1.366, allocations: 222.9 MB / 242.6 MB, free: 13.67 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.1963/0.1963, allocations: 44.18 MB / 336.9 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 67.89 kB / 408.6 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.1005, allocations: 60.83 MB / 469.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002971/0.1035, allocations: 1.854 MB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1056, allocations: 1.522 MB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.1057, allocations: 0 / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1059, allocations: 47.83 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.1062, allocations: 83.61 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.1066, allocations: 151.2 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1068, allocations: 179.5 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1069, allocations: 9.562 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.107, allocations: 87.56 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1072, allocations: 75.62 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1072, allocations: 8 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1073, allocations: 63.97 kB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.1074, allocations: 27.91 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.1074, allocations: 63.55 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1076, allocations: 128 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1076, allocations: 4 kB / 473.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1076, allocations: 0 / 473.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1076, allocations: 0 / 473.7 MB, free: 10.35 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.0005378/0.1082, allocations: 466.7 kB / 474.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1082, allocations: 8.031 kB / 474.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.1083, allocations: 16.75 kB / 474.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1085, allocations: 247.8 kB / 474.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1086, allocations: 4.375 kB / 474.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1086, allocations: 8.109 kB / 474.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1088, allocations: 101.1 kB / 474.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.1088, allocations: 0 / 474.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1088, allocations: 0 / 474.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1088, allocations: 4 kB / 474.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.1089, allocations: 31.92 kB / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.1091, allocations: 214.5 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1094, allocations: 109.2 kB / 474.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.1095, allocations: 41.64 kB / 474.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1095, allocations: 0 / 474.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.1097, allocations: 109.1 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1098, allocations: 3.938 kB / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000391/0.1102, allocations: 161.5 kB / 475.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.1102, allocations: 136.4 kB / 475.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1105, allocations: 211.8 kB / 475.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1105, allocations: 29.7 kB / 475.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.1106, allocations: 116.1 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.1106, allocations: 31.58 kB / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.1107, allocations: 29.7 kB / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1108, allocations: 326.8 kB / 476 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.1109, allocations: 27.98 kB / 476.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.111, allocations: 73.12 kB / 476.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1112, allocations: 91.86 kB / 476.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1112, allocations: 0 / 476.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002646/0.1114, allocations: 141.2 kB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1115, allocations: 8.094 kB / 476.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1115, allocations: 4 kB / 476.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.1115, allocations: 0 / 476.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.1116, allocations: 27.92 kB / 476.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1116, allocations: 0 / 476.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.1117, allocations: 11.94 kB / 476.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.1117, allocations: 4 kB / 476.4 MB, free: 7.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000118/0.1118, allocations: 138.3 kB / 476.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1119, allocations: 15.81 kB / 476.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.1119, allocations: 20.98 kB / 476.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1119, allocations: 7.938 kB / 476.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1119, allocations: 0 / 476.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1119, allocations: 0 / 476.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1121, allocations: 217.4 kB / 476.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1121, allocations: 0 / 476.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.1121, allocations: 11.98 kB / 476.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1122, allocations: 0 / 476.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1122, allocations: 8 kB / 476.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1122, allocations: 0 / 476.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1122, allocations: 0 / 476.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1125, allocations: 169.6 kB / 477 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.1125, allocations: 96.92 kB / 477.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.1126, allocations: 8.125 kB / 477.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.1126, allocations: 8 kB / 477.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1127, allocations: 7.984 kB / 477.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1127, allocations: 8 kB / 477.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1128, allocations: 164.2 kB / 477.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.1128, allocations: 0 / 477.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.1131, allocations: 40.03 kB / 477.3 MB, free: 6.305 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009197/0.114, allocations: 458.1 kB / 477.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1142, allocations: 87.91 kB / 477.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1143, allocations: 0 / 477.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.1144, allocations: 39.92 kB / 477.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1147, allocations: 55.88 kB / 477.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.1151, allocations: 321.6 kB / 478.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1154, allocations: 0.7163 MB / 479 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.1155, allocations: 27.42 kB / 479 MB, free: 4.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1155, allocations: 4 kB / 479 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Templates: time 0.004237/0.1197, allocations: 2.728 MB / 481.7 MB, free: 2.027 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches