Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 93.8 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.00151/0.00151, allocations: 178.3 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.35/1.35, allocations: 223.3 MB / 243 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.25 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003164, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09755, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001953/0.09954, allocations: 1.417 MB / 474.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1009, allocations: 0.8382 MB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.101, allocations: 7.938 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1013, allocations: 27.89 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1015, allocations: 47.83 kB / 475.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1018, allocations: 103.7 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.102, allocations: 87.69 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.1021, allocations: 24.2 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.1022, allocations: 35.8 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.1023, allocations: 27.84 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1023, allocations: 4 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1024, allocations: 39.98 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1025, allocations: 19.86 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.1025, allocations: 65.42 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1027, allocations: 76.11 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1027, allocations: 4 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1027, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.706e-06/0.1027, allocations: 3.938 kB / 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.000481/0.1032, allocations: 391.2 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1033, allocations: 12.03 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.1033, allocations: 12.84 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1035, allocations: 216 kB / 476.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1035, allocations: 384 / 476.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1036, allocations: 20 kB / 476.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1037, allocations: 53.67 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1037, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1038, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1038, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.1038, allocations: 19.98 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.1042, allocations: 280.9 kB / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1044, allocations: 66.61 kB / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.1044, allocations: 16.86 kB / 476.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1045, allocations: 3.984 kB / 476.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1046, allocations: 71.39 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1047, allocations: 0 / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005028/0.1052, allocations: 173.2 kB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1052, allocations: 55.39 kB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1054, allocations: 186.2 kB / 477.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1054, allocations: 29.7 kB / 477.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1055, allocations: 100.1 kB / 477.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.1055, allocations: 27.64 kB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.1056, allocations: 13.72 kB / 477.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1057, allocations: 326.8 kB / 477.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.1057, allocations: 23.94 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.1058, allocations: 37.7 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1059, allocations: 57.7 kB / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1059, allocations: 0 / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.1061, allocations: 101.4 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1062, allocations: 8 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1062, allocations: 4.031 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1062, allocations: 0 / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.1063, allocations: 16 kB / 478 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1063, allocations: 4 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.1063, allocations: 8.109 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1064, allocations: 4 kB / 478 MB, free: 7.953 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 9.108e-05/0.1065, allocations: 129.7 kB / 478.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.1065, allocations: 11.91 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.1065, allocations: 20.7 kB / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1065, allocations: 0 / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1066, allocations: 3.938 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1066, allocations: 4.312 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.107, allocations: 391.3 kB / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.107, allocations: 4 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.1071, allocations: 11.98 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1071, allocations: 0 / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1071, allocations: 7.969 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1071, allocations: 4 kB / 478.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1071, allocations: 0 / 478.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1073, allocations: 216.3 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.1074, allocations: 89 kB / 478.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1074, allocations: 3.938 kB / 478.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.1075, allocations: 8 kB / 478.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1075, allocations: 11.98 kB / 478.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1076, allocations: 4 kB / 478.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1077, allocations: 139.2 kB / 479.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1077, allocations: 0 / 479.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.108, allocations: 23.98 kB / 479.1 MB, free: 6.781 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.001068/0.109, allocations: 471.5 kB / 479.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1092, allocations: 55.92 kB / 479.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1092, allocations: 4 kB / 479.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.1093, allocations: 31.92 kB / 479.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1097, allocations: 30.25 kB / 479.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.1102, allocations: 272.2 kB / 479.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1104, allocations: 0.7082 MB / 480.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.1105, allocations: 15.44 kB / 480.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1105, allocations: 0 / 480.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of Templates: time 0.003664/0.1142, allocations: 1.884 MB / 482.5 MB, free: 3.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches