Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 106.3 kB / 17.98 MB, free: 5.402 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: 193.3 kB / 18.9 MB, free: 4.48 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.292/1.292, allocations: 222.9 MB / 242.6 MB, free: 15.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.2062/0.2062, allocations: 44.18 MB / 336.9 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 74.27 kB / 408.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09554, allocations: 60.82 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002859/0.09843, allocations: 1.771 MB / 471.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.09965, allocations: 0.8615 MB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.09973, allocations: 3.938 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1, allocations: 35.89 kB / 472.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1002, allocations: 47.83 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1005, allocations: 99.52 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1006, allocations: 99.69 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.1007, allocations: 8.234 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.1008, allocations: 35.8 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.1009, allocations: 39.83 kB / 472.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1009, allocations: 11.94 kB / 472.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.101, allocations: 43.98 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.101, allocations: 23.86 kB / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.1011, allocations: 31.75 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1012, allocations: 84.09 kB / 472.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1012, allocations: 0 / 472.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1013, allocations: 4 kB / 472.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1013, allocations: 0 / 472.6 MB, free: 11.55 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.0004656/0.1017, allocations: 403 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1018, allocations: 16.02 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.1018, allocations: 8.844 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.102, allocations: 215.9 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1021, allocations: 384 / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1021, allocations: 12.06 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1022, allocations: 53.67 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1022, allocations: 3.984 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1023, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1023, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.1023, allocations: 19.98 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.1027, allocations: 284.9 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1028, allocations: 58.62 kB / 473.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.1029, allocations: 20.84 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1029, allocations: 4 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.1031, allocations: 67.39 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1031, allocations: 0 / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004924/0.1036, allocations: 169.4 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1037, allocations: 55.41 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1038, allocations: 186.2 kB / 474.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1038, allocations: 29.7 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.1039, allocations: 100.1 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.1039, allocations: 31.62 kB / 474.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.104, allocations: 25.72 kB / 474.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1041, allocations: 326.8 kB / 474.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.1042, allocations: 28.11 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.1042, allocations: 37.7 kB / 474.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1043, allocations: 57.7 kB / 474.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1043, allocations: 4.188 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1045, allocations: 101.4 kB / 474.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1046, allocations: 7.938 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1046, allocations: 0 / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1046, allocations: 4 kB / 474.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.1047, allocations: 15.98 kB / 474.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1047, allocations: 0 / 474.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1047, allocations: 7.938 kB / 474.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1047, allocations: 8.031 kB / 474.9 MB, free: 9.004 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 8.789e-05/0.1048, allocations: 129.8 kB / 475 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.1049, allocations: 11.84 kB / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1049, allocations: 12.72 kB / 475 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1049, allocations: 7.984 kB / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1049, allocations: 0 / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.1049, allocations: 7.922 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.1053, allocations: 391.3 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1053, allocations: 0 / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.1054, allocations: 8 kB / 475.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1054, allocations: 4 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1054, allocations: 3.938 kB / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1054, allocations: 0 / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1054, allocations: 0 / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.1056, allocations: 216.4 kB / 475.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.1057, allocations: 85.02 kB / 475.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1057, allocations: 11.94 kB / 475.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.1058, allocations: 0 / 475.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1059, allocations: 7.984 kB / 475.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1059, allocations: 4 kB / 475.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.106, allocations: 143.2 kB / 475.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.106, allocations: 0 / 475.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1062, allocations: 20 kB / 475.9 MB, free: 7.852 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.0009976/0.1073, allocations: 477.2 kB / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.1074, allocations: 67.89 kB / 476.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1074, allocations: 4.062 kB / 476.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.1075, allocations: 27.92 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1078, allocations: 27.92 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.1083, allocations: 272.9 kB / 476.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1086, allocations: 0.7041 MB / 477.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1086, allocations: 19.44 kB / 477.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1086, allocations: 0 / 477.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of Templates: time 0.003247/0.1119, allocations: 1.904 MB / 479.4 MB, free: 4.492 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches